From eb72b06fe8e62cb77af73f6dc558d384a5a5fe80 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 19 Sep 2025 22:52:48 +0300 Subject: fix --- internal/lsp/instruction_table_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'internal/lsp/instruction_table_test.go') 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) } -- cgit v1.2.3