mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 12:23:09 +00:00
Add a test for issue #1987
This commit is contained in:
parent
318daaffb2
commit
9f8cec7f9e
2 changed files with 6 additions and 0 deletions
|
@ -150,6 +150,11 @@ echo "/bin/echo pipe 12 <&12 12<&-" | source 12<&0
|
|||
echo "Checking for infinite loops in no-execute"
|
||||
echo "while true; end" | ../fish --no-execute
|
||||
|
||||
# Comments allowed in between lines (#1987)
|
||||
echo before comment \
|
||||
# comment
|
||||
after comment
|
||||
|
||||
function always_fails
|
||||
if true
|
||||
return 1
|
||||
|
|
|
@ -51,4 +51,5 @@ pipe 10
|
|||
pipe 11
|
||||
pipe 12
|
||||
Checking for infinite loops in no-execute
|
||||
before comment after comment
|
||||
1
|
||||
|
|
Loading…
Reference in a new issue