From 90fe8dc3aaffea59e851f045353a30350717a39b Mon Sep 17 00:00:00 2001 From: Noah Gorny Date: Sat, 6 Feb 2021 22:44:26 +0200 Subject: [PATCH] test: Fix search test after git-zsh addition --- test/lib/search.bats | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/test/lib/search.bats b/test/lib/search.bats index 2081abab9c..03ac13cb49 100644 --- a/test/lib/search.bats +++ b/test/lib/search.bats @@ -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