Skip to content

Commit 6518e8c

Browse files
Update internal/integrationtest/main/main_test.go
Co-authored-by: Cristian Maglie <[email protected]>
1 parent 78a1a81 commit 6518e8c

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
@@ -148,7 +148,8 @@ func TestInventoryCreation(t *testing.T) {
148148
})
149149

150150
// no logs
151-
stdout, _, _ := cli.Run("version")
151+
stdout, _, err := cli.Run("version")
152+
require.NoError(t, err)
152153
line := strings.TrimSpace(string(stdout))
153154
outLines := strings.Split(line, "\n")
154155
require.Len(t, outLines, 1)

0 commit comments

Comments
 (0)