nil check

This commit is contained in:
Josh Yan 2024-07-30 11:29:58 -07:00
parent 2f5497301f
commit 632237139e

View File

@ -690,8 +690,8 @@ func TestCreateVersion(t *testing.T) {
t.Fatal(err)
}
if m.Ollama.String() != "" {
t.Errorf("got %s != want \"\"", m.Ollama)
if m.Ollama != nil {
t.Errorf("got %s != want nil", m.Ollama)
}
})