mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 11:47:04 +08:00
Fix tests for 91fcb8c42c
This commit is contained in:
parent
91fcb8c42c
commit
706c1a838e
|
@ -65,7 +65,7 @@ print_vars one two three
|
||||||
#CHECK: 1 'test' 1 '' 1 ''
|
#CHECK: 1 'test' 1 '' 1 ''
|
||||||
echo 'foo bar baz' | read -l one two three
|
echo 'foo bar baz' | read -l one two three
|
||||||
print_vars one two three
|
print_vars one two three
|
||||||
#CHECK: 1 'foo' 1 'bar' 1 'baz'
|
#CHECK: 1 'foo' 1 'bar' 1 ' baz'
|
||||||
echo -n 'a' | read -l one
|
echo -n 'a' | read -l one
|
||||||
echo "$status $one"
|
echo "$status $one"
|
||||||
#CHECK: 0 a
|
#CHECK: 0 a
|
||||||
|
@ -323,7 +323,7 @@ begin
|
||||||
end
|
end
|
||||||
#CHECK: a
|
#CHECK: a
|
||||||
#CHECK: b
|
#CHECK: b
|
||||||
#CHECK: c
|
#CHECK: ..c
|
||||||
|
|
||||||
# At one point, whatever was read was printed _before_ banana
|
# At one point, whatever was read was printed _before_ banana
|
||||||
echo banana (echo sausage | read)
|
echo banana (echo sausage | read)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user