Skip to content

Commit 0e63274

Browse files
Update internal/integrationtest/main/main_test.go
Co-authored-by: Cristian Maglie <[email protected]>
1 parent 7dfbe39 commit 0e63274

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/integrationtest/main/main_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ func TestLogOptions(t *testing.T) {
9696
})
9797

9898
// No logs
99-
stdout, _, _ := cli.Run("version")
99+
stdout, _, err := cli.Run("version")
100+
require.NoError(t, err)
100101
trimOut := strings.TrimSpace(string(stdout))
101102
outLines := strings.Split(trimOut, "\n")
102103
require.Len(t, outLines, 1)

0 commit comments

Comments
 (0)