Skip to content

Commit 95b5b78

Browse files
Update internal/integrationtest/lib/lib_test.go
Co-authored-by: Cristian Maglie <c.maglie@bug.st>
1 parent 4d0efa4 commit 95b5b78

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
@@ -282,7 +282,7 @@ func TestList(t *testing.T) {
282282
lines[1] = strings.Join(strings.Fields(lines[1]), " ")
283283
toks := strings.SplitN(lines[1], " ", 5)
284284
// Verifies the expected number of field
285-
require.Equal(t, 5, len(toks))
285+
require.Len(t, toks, 5)
286286
// be sure line contain the current version AND the available version
287287
require.NotEmpty(t, toks[1])
288288
require.NotEmpty(t, toks[2])

0 commit comments

Comments
 (0)