Work around more spurious test failures

This commit is contained in:
Fabian Boehm 2024-05-07 17:54:30 +02:00
parent 1d7fde7bf0
commit 37f0d7c522
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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