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.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/lsp/chat_no_double_answer_test.go b/internal/lsp/chat_no_double_answer_test.go
index 8821cd0..04196f8 100644
--- a/internal/lsp/chat_no_double_answer_test.go
+++ b/internal/lsp/chat_no_double_answer_test.go
@@ -10,6 +10,7 @@ import (
func TestDetectAndHandleChat_NoDoubleAnswer(t *testing.T) {
var out bytes.Buffer
s := &Server{logger: log.New(io.Discard, "", 0), docs: make(map[string]*document), out: &out}
+ initServerDefaults(s)
s.llmClient = fakeLLM{resp: "IGNORED"}
uri := "file:///x.go"
// Question line with trigger, followed by an existing answer line starting with '>'