Fix failing balias tests.

This commit is contained in:
Jorge 2015-03-18 08:53:36 +09:00
parent 34cd7dc10e
commit 1c5cae225e
3 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
import plugins/fish-spec
import plugins/balias
function describe_library -d "better-alias"
function describe_library -d "balias: better-alias"
function after_all
functions -e changedir
@ -10,12 +10,13 @@ function describe_library -d "better-alias"
function it_doesnt_fail
balias changedir cd
expect test $status --to-be-true
expect $status --to-equal 0
end
function it_defines_an_alias
functions changedir
expect test $status --to-be-true
balias changedir cd
set -l ignore_output (functions changedir)
expect $status --to-equal 0
end
function you_can_use_the_alias
@ -30,7 +31,6 @@ function describe_library -d "better-alias"
balias ls_as_root 'sudo ls'
expect test $status --to-be-true
end
end
spec.run $argv
spec.run $argv