mirror of
https://github.com/ollama/ollama.git
synced 2026-04-24 17:55:43 +02:00
refactor test
This commit is contained in:
@@ -647,10 +647,11 @@ func TestCreateVersion(t *testing.T) {
|
||||
})
|
||||
|
||||
f, err := os.Open(filepath.Join(p, "manifests", "registry.ollama.ai", "library", "test", "latest"))
|
||||
defer f.Close()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
defer f.Close()
|
||||
|
||||
bts := json.NewDecoder(f)
|
||||
|
||||
var m Manifest
|
||||
|
||||
Reference in New Issue
Block a user