Skip to content

Commit 1f0dc2b

Browse files
committed
Fix failed fish_plugins test
1 parent a6bf0e5 commit 1f0dc2b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: tests/fisher.fish

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ set --local BASENAME --regex -- '[^/]+$'
2020
fisher update tests/ponyo >/dev/null
2121
) "$ponyo" = "pyon pyon pyon"
2222

23+
@test fish_plugins (
24+
string match --regex -- "[^/]+\$" <$__fish_config_dir/fish_plugins | string join " "
25+
) = "fisher fishtape ponyo"
26+
2327
@test "fisher remove" (
2428
fisher remove tests/ponyo >/dev/null
2529
) "$ponyo" = ""
2630

2731
@test "has state" -n (
2832
set --names | string match \*fisher\* | string collect
2933
)
30-
31-
@test fish_plugins (
32-
fisher list | string collect
33-
) = (read --null <$__fish_config_dir/fish_plugins | string collect)

0 commit comments

Comments
 (0)