summaryrefslogtreecommitdiff
path: root/internal/lsp/helpers_inline_prompt_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/lsp/helpers_inline_prompt_test.go')
-rw-r--r--internal/lsp/helpers_inline_prompt_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/lsp/helpers_inline_prompt_test.go b/internal/lsp/helpers_inline_prompt_test.go
index 5dc698a..1408560 100644
--- a/internal/lsp/helpers_inline_prompt_test.go
+++ b/internal/lsp/helpers_inline_prompt_test.go
@@ -33,7 +33,7 @@ func TestShouldSuppressForChatTriggerEOL_EmptySuffix_NoSuppression(t *testing.T)
cfg.ChatSuffix = ""
s.cfg = cfg
p := CompletionParams{Position: Position{Line: 0, Character: 5}}
- if s.shouldSuppressForChatTriggerEOL("What?>", p) {
+ if s.completion.shouldSuppressForChatTriggerEOL("What?>", p) {
t.Fatalf("expected no suppression when chat suffix is empty")
}
}