summaryrefslogtreecommitdiff
path: root/internal/lsp/fallback_items_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/fallback_items_test.go
parent06247527d5170f329b454b42f59a3e4434ab1f4b (diff)
use gofumpt
Diffstat (limited to 'internal/lsp/fallback_items_test.go')
-rw-r--r--internal/lsp/fallback_items_test.go11
1 files changed, 5 insertions, 6 deletions
diff --git a/internal/lsp/fallback_items_test.go b/internal/lsp/fallback_items_test.go
index 0ce3542..0a08a0d 100644
--- a/internal/lsp/fallback_items_test.go
+++ b/internal/lsp/fallback_items_test.go
@@ -3,10 +3,9 @@ package lsp
import "testing"
func TestFallbackCompletionItems(t *testing.T) {
- s := newTestServer()
- items := s.fallbackCompletionItems("doc")
- if len(items) != 1 || items[0].Label != "hexai-complete" || items[0].InsertText != "hexai" {
- t.Fatalf("unexpected fallback items: %+v", items)
- }
+ s := newTestServer()
+ items := s.fallbackCompletionItems("doc")
+ if len(items) != 1 || items[0].Label != "hexai-complete" || items[0].InsertText != "hexai" {
+ t.Fatalf("unexpected fallback items: %+v", items)
+ }
}
-