mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-02-19 15:52:44 +08:00

Fish is deprecating `^` as a shortcut for stderr redirection. Replace with the more common and compatible `2>`. Fixes #609
23 lines
438 B
Fish
23 lines
438 B
Fish
function describe_basic_tests
|
|
function before_all
|
|
set -gx CI WORKAROUND
|
|
end
|
|
|
|
function it_has_a_help_command
|
|
set -l output (omf help)
|
|
assert 0 = $status
|
|
end
|
|
|
|
function it_has_a_doctor_command
|
|
set -l output (omf doctor)
|
|
assert 0 = $status
|
|
end
|
|
|
|
function it_install_packages
|
|
set -l remove_output (omf remove apt 2> /dev/null)
|
|
set -l install_output (omf install apt)
|
|
|
|
assert 0 = $status
|
|
end
|
|
end
|