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