2
0
Fork 0
mirror of https://github.com/fish-shell/fish-shell synced 2025-02-14 21:18:45 +00:00
fish-shell/tests/checks/andor.fish

10 lines
220 B
Fish
Raw Normal View History

#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