mirror of
https://github.com/ollama/ollama.git
synced 2025-05-11 18:36:41 +02:00
some gocritic
This commit is contained in:
parent
dad7a987ae
commit
c895a7d13f
10 changed files with 21 additions and 20 deletions
|
@ -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(".", ".", ".", "."): {},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue