diff options
Diffstat (limited to 'internal/tmuxedit/config_agent_test.go')
| -rw-r--r-- | internal/tmuxedit/config_agent_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/tmuxedit/config_agent_test.go b/internal/tmuxedit/config_agent_test.go index 7c49c42..d7ad649 100644 --- a/internal/tmuxedit/config_agent_test.go +++ b/internal/tmuxedit/config_agent_test.go @@ -154,7 +154,8 @@ func TestConfigAgent_Amp(t *testing.T) { if !amp.Detect("Amp by Sourcegraph") { t.Error("amp should detect 'Amp by Sourcegraph'") } - got := amp.ExtractPrompt("> fix the bug") + // Amp uses box-drawing TUI format (like cursor), not shell-style > prompt + got := amp.ExtractPrompt("│ fix the bug │") if got != "fix the bug" { t.Errorf("ExtractPrompt() = %q, want %q", got, "fix the bug") } |
