summaryrefslogtreecommitdiff
path: root/internal/lsp/chat_commands_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-09-26 07:52:08 +0300
committerPaul Buetow <paul@buetow.org>2025-09-26 07:52:08 +0300
commit2efcd2c4dda97831058851e8911281d5db5ce1c6 (patch)
treec59059cb4c781878f1291ca06fe1a215579a0fa8 /internal/lsp/chat_commands_test.go
parentd0330d02ff040326216ab940a767490cb2de09ce (diff)
Log config reload changes
Diffstat (limited to 'internal/lsp/chat_commands_test.go')
-rw-r--r--internal/lsp/chat_commands_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/lsp/chat_commands_test.go b/internal/lsp/chat_commands_test.go
index f9bd6a0..87cc1b4 100644
--- a/internal/lsp/chat_commands_test.go
+++ b/internal/lsp/chat_commands_test.go
@@ -17,7 +17,7 @@ func TestFormatReloadSummary(t *testing.T) {
{Key: "max_tokens", Old: "200", New: "128"},
{Key: "provider", Old: "openai", New: "ollama"},
}
- got := formatReloadSummary(changes)
+ got := runtimeconfig.FormatSummary("Reloaded config", changes)
if !strings.Contains(got, "Reloaded config (2 changes):") {
t.Fatalf("expected change count line, got %q", got)
}