From b309a26a5d1b2c704e919822fbcccbfc25556384 Mon Sep 17 00:00:00 2001 From: Ludvig Liljenberg Date: Fri, 4 Aug 2023 16:21:08 -0700 Subject: [PATCH] undo linebreak change Signed-off-by: Ludvig Liljenberg --- pkg/test/helper.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/test/helper.go b/pkg/test/helper.go index a705583caa..4e6fa57897 100644 --- a/pkg/test/helper.go +++ b/pkg/test/helper.go @@ -31,6 +31,7 @@ func TestMainWithMockedCommandHandlers(m *testing.M) { // There may be multiple expected commands, separated by a newline character wantCmds := strings.Split(expectedCmdEnv, "\n") + commandNotFound := true for _, wantCmd := range wantCmds { if wantCmd == gotCmd {