From add2da66c59266ffcbbf9393a0ca96a70a9eaed5 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Wed, 3 Apr 2019 11:07:52 +0100 Subject: [PATCH] e2e: Use icmd.None in a couple more places This checks for actual emptiness, while `""` means "don't care". Signed-off-by: Ian Campbell --- e2e/cli-plugins/flags_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/cli-plugins/flags_test.go b/e2e/cli-plugins/flags_test.go index a958b18413..385e29189b 100644 --- a/e2e/cli-plugins/flags_test.go +++ b/e2e/cli-plugins/flags_test.go @@ -45,13 +45,13 @@ func TestClashWithGlobalArgs(t *testing.T) { name: "short-with-val", args: []string{"-c", "Christmas"}, expectedOut: "Merry Christmas!", - expectedErr: "", + expectedErr: icmd.None, }, { name: "short-with-val", args: []string{"--context", "Christmas"}, expectedOut: "Merry Christmas!", - expectedErr: "", + expectedErr: icmd.None, }, } { t.Run(tc.name, func(t *testing.T) {