summaryrefslogtreecommitdiff
path: root/internal/lsp/chat_commands_test.go
diff options
context:
space:
mode:
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)
}