From 9624c083be8bd49106b3b5384f809d608eafb20a Mon Sep 17 00:00:00 2001 From: BillionClaw Date: Tue, 17 Mar 2026 08:08:30 +0800 Subject: [PATCH] fix(cmd): correct port typo in TestIsLocalhost Change localhost:11435 to localhost:11434 to match the correct Ollama default port used in all other test cases. --- cmd/cmd_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/cmd_test.go b/cmd/cmd_test.go index 9326215bd..1d318bd76 100644 --- a/cmd/cmd_test.go +++ b/cmd/cmd_test.go @@ -2180,7 +2180,7 @@ func TestIsLocalhost(t *testing.T) { }{ {"default empty", "", true}, {"localhost no port", "localhost", true}, - {"localhost with port", "localhost:11435", true}, + {"localhost with port", "localhost:11434", true}, {"127.0.0.1 no port", "127.0.0.1", true}, {"127.0.0.1 with port", "127.0.0.1:11434", true}, {"0.0.0.0 no port", "0.0.0.0", true},