fish-shell/tests/set.in
Kurtis Rader 7619e62b70 use new logmsg and set --show in tests
Also modify `logmsg` to output additional separator lines to make the
demarcation between tests even clearer.
2017-08-03 21:25:20 -07:00

16 lines
324 B
Fish

# Test various behaviors of the `set` command.
logmsg Verify behavior of `set --show` given an invalid var name
set --show 'argle bargle'
logmsg Verify behavior of `set --show`
set -U var1 hello
set --show var1
set -l var1
set -g var1 goodbye "and don't come back"
set --show var1
set -g var2
set --show _unset_var var2