We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e0aa0a commit 4d0efa4Copy full SHA for 4d0efa4
internal/integrationtest/lib/lib_test.go
@@ -278,7 +278,7 @@ func TestList(t *testing.T) {
278
require.NoError(t, err)
279
require.Empty(t, stderr)
280
lines := strings.Split(strings.TrimSpace(string(stdout)), "\n")
281
- require.Equal(t, 2, len(lines))
+ require.Len(t, lines, 2)
282
lines[1] = strings.Join(strings.Fields(lines[1]), " ")
283
toks := strings.SplitN(lines[1], " ", 5)
284
// Verifies the expected number of field
0 commit comments