nil check
This commit is contained in:
parent
2f5497301f
commit
632237139e
@ -690,8 +690,8 @@ func TestCreateVersion(t *testing.T) {
|
|||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if m.Ollama.String() != "" {
|
if m.Ollama != nil {
|
||||||
t.Errorf("got %s != want \"\"", m.Ollama)
|
t.Errorf("got %s != want nil", m.Ollama)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user