mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-19 14:51:13 -03:00
tests/abbrs: Disable check that fails on CI
It appears we're getting the correct output, but in the wrong order, so pexpect doesn't filter it correctly: > \r\n\x1b]133;C;cmdline_url=echo%20bar\x07bar\r\n\x1b]133;D;0\x07\x1b[?25h⏎ \r⏎ \r\rprompt 39>\x1b[?2004h That `\x07bar` should be the \a that marks the end of the escape sequence, followed by the actual "bar", followed by sequences marking the end of output...
This commit is contained in:
@@ -185,7 +185,10 @@ expect_prompt()
|
||||
sendline(r"""fruit foo""")
|
||||
expect_prompt("I am a banana")
|
||||
|
||||
# FIXME: This fails regularly on CI, output like
|
||||
# \r\n\x1b]133;C;cmdline_url=echo%20bar\x07bar\r\n\x1b]133;D;0\x07\x1b[?25h⏎
|
||||
# {{spaces}}\r⏎ \r\rprompt 39>\x1b[?2004h
|
||||
# (don't add the literal string "bar" here or the expect_prompt will match it - so we add some no-op quotes)
|
||||
sendline(r"""function replace; commandline -r ""; echo echo b''ar; end; abbr foo --function replace""")
|
||||
sendline("foo")
|
||||
expect_prompt("bar")
|
||||
# sendline(r"""function replace; commandline -r ""; echo echo b''ar; end; abbr foo --function replace""")
|
||||
# sendline("foo")
|
||||
# expect_prompt("bar")
|
||||
|
||||
Reference in New Issue
Block a user