Skip to content

Commit e60c29a

Browse files
author
Noah Gorny
committed
test: Fix search test after git-zsh addition
1 parent 97a83ff commit e60c29a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

test/lib/search.bats

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,14 @@ function local_teardown {
3939

4040
@test "search: git" {
4141
run _bash-it-search 'git' --no-color
42-
assert_line -n 0 ' aliases: git gitsvn '
42+
43+
assert_line -n 0 -p ' aliases:'
44+
for alias in 'git' 'gitsvn' 'git-zsh'
45+
do
46+
echo $alias
47+
assert_line -n 0 -p $alias
48+
done
49+
4350
assert_line -n 1 -p ' plugins:'
4451
for plugin in "autojump" "git" "gitstatus" "git-subrepo" "jgitflow" "jump"
4552
do

0 commit comments

Comments
 (0)