Skip to content

Commit e9fae17

Browse files
committed
lint
1 parent 5f38cb8 commit e9fae17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/cli/test/e2e/cli/changelog_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ func compareVersions(t *testing.T, cmdOutput, testOutput string) {
149149
cmdFiles, err := os.ReadDir(fmt.Sprintf("%s/%s", cmdOutput, "version-diff"))
150150
require.NoError(t, err)
151151
// Ignore the changelog.json and changelog-all.json files
152-
require.Equal(t, len(files)-2, len(cmdFiles))
152+
require.Len(t, cmdFiles, len(files)-2)
153153

154154
// Loop over each file in the test output folder
155155
for _, fileName := range files {

0 commit comments

Comments
 (0)