diff options
Diffstat (limited to 'internal/lsp/helpers_inline_prompt_test.go')
| -rw-r--r-- | internal/lsp/helpers_inline_prompt_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/lsp/helpers_inline_prompt_test.go b/internal/lsp/helpers_inline_prompt_test.go index 5554d89..5dc698a 100644 --- a/internal/lsp/helpers_inline_prompt_test.go +++ b/internal/lsp/helpers_inline_prompt_test.go @@ -7,12 +7,12 @@ import ( func TestLineHasInlinePrompt_BasicAndDoubleOpen(t *testing.T) { // Basic inline - if !lineHasInlinePrompt("do >task> now", '>', '>') { - t.Fatalf("expected inline prompt detection for >text>") + if !lineHasInlinePrompt("do >!task> now", ">!", '>', '>') { + t.Fatalf("expected inline prompt detection for >!text>") } // Double-open variant should be recognized as inline prompt too - if !lineHasInlinePrompt(">>replace>", '>', '>') { - t.Fatalf("expected inline prompt detection for >>text>") + if !lineHasInlinePrompt(">>!replace>", ">!", '>', '>') { + t.Fatalf("expected inline prompt detection for >>!text>") } } |
