mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 13:23:09 +00:00
Fix the commandline test
This was tripping over < > redirections.
This commit is contained in:
parent
67883737c0
commit
e9fde96d9c
1 changed files with 4 additions and 4 deletions
|
@ -68,15 +68,15 @@ send("echo process1; echo process2")
|
|||
send(control("a"))
|
||||
send(control("b"))
|
||||
send(control("k"))
|
||||
sendline("echo first process is <$tmp>")
|
||||
expect_str("first process is <echo process1>")
|
||||
sendline("echo first process is [$tmp]")
|
||||
expect_str("first process is [echo process1]")
|
||||
|
||||
send("echo process # comment")
|
||||
send(control("a"))
|
||||
send(control("b"))
|
||||
send(control("k"))
|
||||
sendline('echo "process extent is <$tmp>"')
|
||||
expect_str("process extent is <echo process # comment>")
|
||||
sendline('echo "process extent is [$tmp]"')
|
||||
expect_str("process extent is [echo process # comment]")
|
||||
|
||||
sendline(r"bind \cb 'set tmp (commandline --current-process | count)'")
|
||||
sendline(r'commandline "echo line1 \\" "# comment" "line2"')
|
||||
|
|
Loading…
Reference in a new issue