interactive tests: exit quietly if expect not available

It seems that 44cfe3e34 inadvertently included the requirement for the
expect tests to pass; revert this to its original sense.
This commit is contained in:
David Adam 2019-01-28 21:51:57 +08:00
parent aa32fc92ac
commit d8d9cfdc10

View File

@ -39,7 +39,7 @@ cat interactive.config >>$XDG_CONFIG_HOME/fish/config.fish
say -o cyan "Testing interactive functionality" say -o cyan "Testing interactive functionality"
if not type -q expect if not type -q expect
say red "Tests disabled: `expect` not found" say red "Tests disabled: `expect` not found"
exit 1 exit 0
end end
function test_file function test_file