diff options
| author | Paul Buetow <paul@buetow.org> | 2025-09-19 22:52:48 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-09-19 22:52:48 +0300 |
| commit | eb72b06fe8e62cb77af73f6dc558d384a5a5fe80 (patch) | |
| tree | efeb1165b9fbcb69a4ee675dba7bdc8c28fee3aa /internal/lsp/instruction_table_test.go | |
| parent | acc400768153a7bfda1413f15579c9455b877c87 (diff) | |
fix
Diffstat (limited to 'internal/lsp/instruction_table_test.go')
| -rw-r--r-- | internal/lsp/instruction_table_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/lsp/instruction_table_test.go b/internal/lsp/instruction_table_test.go index ff750ca..a6042b1 100644 --- a/internal/lsp/instruction_table_test.go +++ b/internal/lsp/instruction_table_test.go @@ -16,7 +16,8 @@ func TestFindFirstInstructionInLine_Table(t *testing.T) { {"double_dash", "-- rewrite quickly", "rewrite quickly"}, } for _, c := range cases { - instr, _, ok := findFirstInstructionInLine(c.line) + s := newTestServer() + instr, _, ok := s.findFirstInstructionInLine(c.line) if !ok || instr != c.instr { t.Fatalf("%s: got %q ok=%v", c.name, instr, ok) } |
