summaryrefslogtreecommitdiff
path: root/internal/lsp/chat_prompt_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/lsp/chat_prompt_test.go')
-rw-r--r--internal/lsp/chat_prompt_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/lsp/chat_prompt_test.go b/internal/lsp/chat_prompt_test.go
index 3a1146f..dbc6158 100644
--- a/internal/lsp/chat_prompt_test.go
+++ b/internal/lsp/chat_prompt_test.go
@@ -18,7 +18,7 @@ func TestDetectAndHandleChat_UsesConfiguredSystemPrompt(t *testing.T) {
s.out = &out
// Line that should trigger chat: ends with '>' and previous char in prefixes
s.setDocument(uri, "help?>\n")
- s.detectAndHandleChat(uri)
+ s.chatSvc().detectAndHandleChat(uri)
// Wait for the background chat goroutine to finish.
s.inflight.Wait()
if len(cap.msgs) == 0 {