mirror of
https://github.com/ollama/ollama.git
synced 2025-09-05 15:19:20 +02:00
some gocritic
This commit is contained in:
@@ -325,7 +325,7 @@ func TestParseNameFromFilepath(t *testing.T) {
|
||||
filepath.Join("host:port", "namespace", "model", "tag"): {Host: "host:port", Namespace: "namespace", Model: "model", Tag: "tag"},
|
||||
filepath.Join("namespace", "model", "tag"): {},
|
||||
filepath.Join("model", "tag"): {},
|
||||
filepath.Join("model"): {},
|
||||
"model": {},
|
||||
filepath.Join("..", "..", "model", "tag"): {},
|
||||
filepath.Join("", "namespace", ".", "tag"): {},
|
||||
filepath.Join(".", ".", ".", "."): {},
|
||||
|
Reference in New Issue
Block a user