2
0
Fork 0
mirror of https://github.com/fish-shell/fish-shell synced 2025-02-15 21:49:26 +00:00
fish-shell/tests/checks/andor.fish
2019-11-26 14:03:53 +01:00

9 lines
220 B
Fish

#RUN: %fish %s
set -xl LANG C # uniform quotes
eval 'true | and'
# CHECKERR: {{.*}}: The 'and' command can not be used in a pipeline
eval 'true | or'
# CHECKERR: {{.*}}: The 'or' command can not be used in a pipeline