summaryrefslogtreecommitdiff
path: root/internal/lsp/chat_no_double_answer_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/lsp/chat_no_double_answer_test.go')
-rw-r--r--internal/lsp/chat_no_double_answer_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/lsp/chat_no_double_answer_test.go b/internal/lsp/chat_no_double_answer_test.go
index 04196f8..68ad16f 100644
--- a/internal/lsp/chat_no_double_answer_test.go
+++ b/internal/lsp/chat_no_double_answer_test.go
@@ -15,7 +15,7 @@ func TestDetectAndHandleChat_NoDoubleAnswer(t *testing.T) {
uri := "file:///x.go"
// Question line with trigger, followed by an existing answer line starting with '>'
s.setDocument(uri, "What?>\n> already answered\n")
- s.detectAndHandleChat(uri)
+ s.chatSvc().detectAndHandleChat(uri)
if out.Len() != 0 {
t.Fatalf("expected no applyEdit request when answer exists; got %d bytes", out.Len())
}