summaryrefslogtreecommitdiff
path: root/internal/lsp/log_context_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-09-06 10:56:27 +0300
committerPaul Buetow <paul@buetow.org>2025-09-06 10:56:27 +0300
commit320de746f7a2985b60c8564a0e65bdf231e840b7 (patch)
treee70bcf50813dba411afa2934e774383124bbc99e /internal/lsp/log_context_test.go
parent06247527d5170f329b454b42f59a3e4434ab1f4b (diff)
use gofumpt
Diffstat (limited to 'internal/lsp/log_context_test.go')
-rw-r--r--internal/lsp/log_context_test.go15
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")
}
-