mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-05 08:11:15 -03:00
Add a special error message for |&
This commit is contained in:
@@ -24,4 +24,9 @@ cat $tmpdir/file.txt
|
||||
echo noclobber &>>? $tmpdir/file.txt
|
||||
#CHECKERR: {{.*}} The file {{.*}} already exists
|
||||
|
||||
eval "echo foo |& false"
|
||||
#CHECKERR: {{.*}} |& is not valid. In fish, use &| to pipe both stdout and stderr.
|
||||
#CHECKERR: echo foo |& false
|
||||
#CHECKERR: ^
|
||||
|
||||
rm -Rf $tmpdir
|
||||
|
||||
Reference in New Issue
Block a user