diff --git a/tests/checks/tmux-job.fish b/tests/checks/tmux-job.fish index 07e5ab887..dd1d98594 100644 --- a/tests/checks/tmux-job.fish +++ b/tests/checks/tmux-job.fish @@ -12,4 +12,5 @@ isolated-tmux capture-pane -p # CHECK: prompt 0> sleep 0.5 & # CHECK: prompt 0> echo hello # CHECK: fish: Job 1, 'sleep 0.5 &' has ended -# CHECK: prompt 0> echo hello world +# (I've seen this print " world", I guess it depends on tmux version and how big it thinks the terminal is) +# CHECK: {{.*}} world diff --git a/tests/pexpects/generic.py b/tests/pexpects/generic.py index e0f79b475..01a01c24b 100644 --- a/tests/pexpects/generic.py +++ b/tests/pexpects/generic.py @@ -32,7 +32,7 @@ expect_prompt("echo stuff") # last history command should be the one that printed the history sendline("echo $history[1]") -expect_prompt("echo \$history\[1\]") +expect_prompt("echo \\$history\\[1\\]") # Backslashes at end of comments (#1255) # This backslash should NOT cause the line to continue