From 8700b8119b923377b031fa7cd0a0410ebf8902da Mon Sep 17 00:00:00 2001 From: Administrator Date: Wed, 5 Sep 2018 12:28:00 +0200 Subject: [PATCH] add short-output flag to search --- cmd/helm/search_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/helm/search_test.go b/cmd/helm/search_test.go index 459a12a3e..66391758b 100644 --- a/cmd/helm/search_test.go +++ b/cmd/helm/search_test.go @@ -88,13 +88,13 @@ func TestSearchCmd(t *testing.T) { name: "search for 'maria', expect one match, expect to be the short version", args: []string{"maria"}, flags: []string{"--short-output"}, - expected: "testing/mariadb\t0.3.0 \t \tChart for MariaDB", + expected: "testing/mariadb\t0.3.0 \t \tChart for MariaDB\n", }, { name: "search for 'maria', expect one match, expect to be the short version", args: []string{"maria"}, flags: []string{"-s"}, - expected: "testing/mariadb\t0.3.0 \t \tChart for MariaDB", + expected: "testing/mariadb\t0.3.0 \t \tChart for MariaDB\n", }, }