summaryrefslogtreecommitdiff
path: root/internal/lsp/inline_prompt_completion_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/lsp/inline_prompt_completion_test.go')
-rw-r--r--internal/lsp/inline_prompt_completion_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/lsp/inline_prompt_completion_test.go b/internal/lsp/inline_prompt_completion_test.go
index 9599a70..a248602 100644
--- a/internal/lsp/inline_prompt_completion_test.go
+++ b/internal/lsp/inline_prompt_completion_test.go
@@ -37,7 +37,7 @@ func TestHandleCompletionInlinePromptDoubleArrow(t *testing.T) {
bctx, _ := json.Marshal(ctx)
p.Context = json.RawMessage(bctx)
- s.handleCompletion(Request{JSONRPC: "2.0", ID: json.RawMessage("1"), Method: "textDocument/completion", Params: mustJSON(p)})
+ s.completion.handleCompletion(Request{JSONRPC: "2.0", ID: json.RawMessage("1"), Method: "textDocument/completion", Params: mustJSON(p)})
resp := captureResponse(t, &out)
var list CompletionList
b, _ := json.Marshal(resp.Result)