From fc595d89bf0a22bb082510b125ea0b967fcfe160 Mon Sep 17 00:00:00 2001 From: Blake Mizerany Date: Fri, 5 Apr 2024 21:31:47 -0700 Subject: [PATCH] x/model: add some clarity to Fill example about what is showing --- x/model/name_test.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/x/model/name_test.go b/x/model/name_test.go index 73359987..6aaf804c 100644 --- a/x/model/name_test.go +++ b/x/model/name_test.go @@ -314,10 +314,8 @@ func TestFill(t *testing.T) { } func ExampleFill() { - r := Fill( - ParseName("mistral"), - ParseName("registry.ollama.com/library/PLACEHOLDER:latest+Q4_0"), - ) + defaults := ParseName("registry.ollama.com/library/PLACEHOLDER:latest+Q4_0") + r := Fill(ParseName("mistral"), defaults) fmt.Println(r) // Output: