Skip to content

Commit

Permalink
test: Fix search test after git-zsh addition
Browse files Browse the repository at this point in the history
  • Loading branch information
Noah Gorny committed Feb 6, 2021
1 parent 051da8a commit 90fe8dc
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion test/lib/search.bats
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,14 @@ function local_teardown {

@test "search: git" {
run _bash-it-search 'git' --no-color
assert_line -n 0 ' aliases: git gitsvn '

assert_line -n 0 -p ' aliases:'
for alias in 'git' 'gitsvn' 'git-zsh'
do
echo $alias
assert_line -n 0 -p $alias
done

assert_line -n 1 -p ' plugins:'
for plugin in "autojump" "git" "gitstatus" "git-subrepo" "jgitflow" "jump"
do
Expand Down

0 comments on commit 90fe8dc

Please sign in to comment.