summaryrefslogtreecommitdiff
path: root/internal/lsp/fallback_items_test.go
diff options
context:
space:
mode:
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)
+ }
}
-