summaryrefslogtreecommitdiff
path: root/internal/lsp/completion_provider_fallback_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/lsp/completion_provider_fallback_test.go')
-rw-r--r--internal/lsp/completion_provider_fallback_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/lsp/completion_provider_fallback_test.go b/internal/lsp/completion_provider_fallback_test.go
index 67dc78b..8e35108 100644
--- a/internal/lsp/completion_provider_fallback_test.go
+++ b/internal/lsp/completion_provider_fallback_test.go
@@ -41,7 +41,7 @@ func TestCompletion_FallbackOnProviderError(t *testing.T) {
// Call handleCompletion and ensure it returns at least one item from chat fallback
var buf nopWriter
s.out = &buf
- s.handleCompletion(Request{JSONRPC: "2.0", ID: json.RawMessage("6"), Method: "textDocument/completion", Params: mustJSON(p)})
+ s.completion.handleCompletion(Request{JSONRPC: "2.0", ID: json.RawMessage("6"), Method: "textDocument/completion", Params: mustJSON(p)})
// No panic implies path executed; detailed decode not needed here
}