mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 05:43:11 +00:00
0874dd6a96
This used expect_re with a regex ending in `.*`, followed by an `expect_prompt`. This meant that, depending on the timing, the regex could swallow the prompt marker, which caused extremely confusing output like >Testing file pexpects/generic.py:Failed to match pattern: prompt 14 > ... > OUTPUT +1.33 ms (Line 70): \rprompt 13>functions\r\nN_, abbr, > alias, bg, cd, [SNIP], up-or-search, vared, wait\r\n⏎ > \r⏎ \r\rprompt 14> Yeah - it shows that "prompt 14" was in the output and it can't find "prompt 14". I could reproduce the failure locally when running the tests repeatedly. I got one after 17 attempts and so far haven't been able to reproduce it with this change applied. |
||
---|---|---|
.. | ||
abbrs.py | ||
bind.py | ||
bind_mode_events.py | ||
cancel_event.py | ||
commandline.py | ||
complete-group-order.py | ||
complete.py | ||
cursor_selection.py | ||
disable_mouse.py | ||
eval-stack-overflow.py | ||
exit.py | ||
exit_handlers.py | ||
exit_nohang.py | ||
fg.py | ||
fkr.py | ||
generic.py | ||
histfile.py | ||
history.py | ||
isatty.py | ||
job_summary.py | ||
nullterm.py | ||
pipeline.py | ||
postexec.py | ||
private_mode.py | ||
read.py | ||
set_color.py | ||
sigint.py | ||
signals.py | ||
status.py | ||
stdin_nonblocking.py | ||
terminal.py | ||
torn_escapes.py | ||
tty_ownership.py | ||
undo.py | ||
wait.py | ||
wildcard_tab.py |