diff options
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) } |
