diff options
Diffstat (limited to 'internal/lsp/log_context_test.go')
| -rw-r--r-- | internal/lsp/log_context_test.go | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/internal/lsp/log_context_test.go b/internal/lsp/log_context_test.go index 0bc4ed3..02b4efd 100644 --- a/internal/lsp/log_context_test.go +++ b/internal/lsp/log_context_test.go @@ -1,15 +1,14 @@ package lsp import ( - "io" - "log" - "testing" + "io" + "log" + "testing" ) func TestLogCompletionContext(t *testing.T) { - s := newTestServer() - s.logger = log.New(io.Discard, "", 0) - p := CompletionParams{TextDocument: TextDocumentIdentifier{URI: "file:///x"}, Position: Position{Line:1, Character:2}} - s.logCompletionContext(p, "a", "b", "c", "f") + s := newTestServer() + s.logger = log.New(io.Discard, "", 0) + p := CompletionParams{TextDocument: TextDocumentIdentifier{URI: "file:///x"}, Position: Position{Line: 1, Character: 2}} + s.logCompletionContext(p, "a", "b", "c", "f") } - |
