From 4f4bae95e42b1c7caab949aa44be711194679698 Mon Sep 17 00:00:00 2001 From: Noah Gorny Date: Sat, 20 Jun 2020 14:11:00 +0300 Subject: [PATCH] tests: Fix search git test --- test/lib/search.bats | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/lib/search.bats b/test/lib/search.bats index a7c1a23f..60c06be2 100644 --- a/test/lib/search.bats +++ b/test/lib/search.bats @@ -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 ' }