fish-shell/tests/checks/command-2.fish
Fabian Homborg 9d5620c170 Port most of the invocation tests to littlecheck
This is a bit weird sometimes, e.g. to test the return status (that
fish actually *returns $status*), we use a #RUN line with %fish
invoking %fish, so we can use the substitution.

Still much nicer.

The missing scripts are those that rely on config.
2019-06-25 20:56:29 +02:00

3 lines
86 B
Fish

#RUN: %fish -c "echo 1.2.3.4." -c "echo 5.6.7.8."
# CHECK: 1.2.3.4.
# CHECK: 5.6.7.8.