summaryrefslogtreecommitdiff
path: root/internal/lsp/codeaction_gotest_int_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-09-19 22:52:48 +0300
committerPaul Buetow <paul@buetow.org>2025-09-19 22:52:48 +0300
commiteb72b06fe8e62cb77af73f6dc558d384a5a5fe80 (patch)
treeefeb1165b9fbcb69a4ee675dba7bdc8c28fee3aa /internal/lsp/codeaction_gotest_int_test.go
parentacc400768153a7bfda1413f15579c9455b877c87 (diff)
fix
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 {