From 6a580667ed36a3fe8e04b47655f1ec3047cff364 Mon Sep 17 00:00:00 2001 From: LordMathis Date: Thu, 18 Sep 2025 20:30:26 +0200 Subject: [PATCH] Remove LlamaExecutable checks from default and file loading tests --- pkg/config/config_test.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkg/config/config_test.go b/pkg/config/config_test.go index 5d40844..ed95429 100644 --- a/pkg/config/config_test.go +++ b/pkg/config/config_test.go @@ -42,9 +42,6 @@ func TestLoadConfig_Defaults(t *testing.T) { if cfg.Instances.MaxInstances != -1 { t.Errorf("Expected default max instances -1, got %d", cfg.Instances.MaxInstances) } - if cfg.Instances.LlamaExecutable != "llama-server" { - t.Errorf("Expected default executable 'llama-server', got %q", cfg.Instances.LlamaExecutable) - } if !cfg.Instances.DefaultAutoRestart { t.Error("Expected default auto restart to be true") } @@ -101,9 +98,6 @@ instances: if cfg.Instances.MaxInstances != 5 { t.Errorf("Expected max instances 5, got %d", cfg.Instances.MaxInstances) } - if cfg.Instances.LlamaExecutable != "/usr/bin/llama-server" { - t.Errorf("Expected executable '/usr/bin/llama-server', got %q", cfg.Instances.LlamaExecutable) - } if cfg.Instances.DefaultAutoRestart { t.Error("Expected auto restart to be false") }