Skip to content

Commit 477ca56

Browse files
committed
feat- test
Signed-off-by: Hélia Barroso <[email protected]>
1 parent 6e9b46a commit 477ca56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/etcdmigrate/etcdmigrate_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,9 @@ func TestMigrateCRDs(t *testing.T) {
149149

150150
err := MigrateCRDs(context.Background(), &clientSets)
151151
if tc.shouldFail {
152-
assert.Error(t, err, "expected an error but got none")
152+
assert.Error(t, err)
153153
} else {
154-
assert.NoError(t, err, "expected no error but got one")
154+
assert.NoError(t, err)
155155
}
156156
})
157157
}

0 commit comments

Comments
 (0)