mirror of
https://github.com/jorgebucaran/fisher
synced 2024-10-09 09:36:53 +02:00
Fix failed fish_plugins test
This commit is contained in:
parent
a6bf0e5b9e
commit
1f0dc2b497
1 changed files with 4 additions and 4 deletions
|
@ -20,6 +20,10 @@ set --local BASENAME --regex -- '[^/]+$'
|
|||
fisher update tests/ponyo >/dev/null
|
||||
) "$ponyo" = "pyon pyon pyon"
|
||||
|
||||
@test fish_plugins (
|
||||
string match --regex -- "[^/]+\$" <$__fish_config_dir/fish_plugins | string join " "
|
||||
) = "fisher fishtape ponyo"
|
||||
|
||||
@test "fisher remove" (
|
||||
fisher remove tests/ponyo >/dev/null
|
||||
) "$ponyo" = ""
|
||||
|
@ -27,7 +31,3 @@ set --local BASENAME --regex -- '[^/]+$'
|
|||
@test "has state" -n (
|
||||
set --names | string match \*fisher\* | string collect
|
||||
)
|
||||
|
||||
@test fish_plugins (
|
||||
fisher list | string collect
|
||||
) = (read --null <$__fish_config_dir/fish_plugins | string collect)
|
||||
|
|
Loading…
Reference in a new issue