mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-22 06:18:56 +08:00

Also modify `logmsg` to output additional separator lines to make the demarcation between tests even clearer.
16 lines
324 B
Fish
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
|