Skip to content

Commit 4d0efa4

Browse files
Update internal/integrationtest/lib/lib_test.go
Co-authored-by: Cristian Maglie <[email protected]>
1 parent 9e0aa0a commit 4d0efa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/integrationtest/lib/lib_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ func TestList(t *testing.T) {
278278
require.NoError(t, err)
279279
require.Empty(t, stderr)
280280
lines := strings.Split(strings.TrimSpace(string(stdout)), "\n")
281-
require.Equal(t, 2, len(lines))
281+
require.Len(t, lines, 2)
282282
lines[1] = strings.Join(strings.Fields(lines[1]), " ")
283283
toks := strings.SplitN(lines[1], " ", 5)
284284
// Verifies the expected number of field

0 commit comments

Comments
 (0)