tests: Fix search git test

pull/1622/head
Noah Gorny 2020-06-20 14:11:00 +03:00
parent b95062192a
commit 4f4bae95e4
1 changed files with 6 additions and 1 deletions

View File

@ -39,7 +39,12 @@ function local_teardown {
@test "search: git" {
run _bash-it-search 'git' --no-color
assert_line -n 0 ' aliases: git gitsvn '
assert_line -n 1 ' plugins: autojump git git-subrepo jgitflow jump '
assert_line -n 1 -p ' plugins:'
for plugin in "autojump" "git" "gitstatusd" "git-subrepo" "jgitflow" "jump"
do
echo $plugin
assert_line -n 1 -p $plugin
done
assert_line -n 2 ' completions: git git_flow git_flow_avh '
}