summaryrefslogtreecommitdiff
path: root/internal/lsp/helpers_inline_prompt_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-10-03 23:50:49 +0300
committerPaul Buetow <paul@buetow.org>2025-10-03 23:50:49 +0300
commit420b5aebf888c638ac096e1476c06eac979ac257 (patch)
tree59434cbc37837399d7b5bc7920ffd7be62f1fc7d /internal/lsp/helpers_inline_prompt_test.go
parente36a5446bc62842ae3b3e165f66fecb7285a8c6a (diff)
Switch inline prompt markers to >! prefixv0.15.1
Diffstat (limited to 'internal/lsp/helpers_inline_prompt_test.go')
-rw-r--r--internal/lsp/helpers_inline_prompt_test.go8
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>")
}
}