mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-03 15:40:32 +00:00
tests: test commands help, query & install
This commit is contained in:
parent
9258757901
commit
7022c3db95
@ -2,8 +2,13 @@
|
||||
|
||||
set -l return_code 0
|
||||
|
||||
omf help
|
||||
omf query PATH
|
||||
omf install apt
|
||||
set commands "omf help" "omf query PATH" "omf query fish_function_path" "omf install apt"
|
||||
for cmd in $commands
|
||||
echo \$ $cmd
|
||||
if not eval $cmd
|
||||
set return_code 1
|
||||
end;
|
||||
end;
|
||||
|
||||
|
||||
exit $return_code
|
||||
|
Loading…
Reference in New Issue
Block a user