summaryrefslogtreecommitdiff
path: root/internal/lsp/codeaction_gotest_int_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/lsp/codeaction_gotest_int_test.go')
-rw-r--r--internal/lsp/codeaction_gotest_int_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/lsp/codeaction_gotest_int_test.go b/internal/lsp/codeaction_gotest_int_test.go
index 04a73e0..384f3d5 100644
--- a/internal/lsp/codeaction_gotest_int_test.go
+++ b/internal/lsp/codeaction_gotest_int_test.go
@@ -13,6 +13,7 @@ func TestResolveGoTest_CreatesTestFile(t *testing.T) {
t.Fatalf("write: %v", err)
}
s := &Server{} // minimal server with nil llmClient to trigger stub
+ initServerDefaults(s)
uri := "file://" + src
we, jumpURI, jumpRange, ok := s.resolveGoTest(uri, Position{Line: 2})
if !ok || jumpURI == "" || jumpRange.Start.Line < 0 {