mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-03 19:54:00 +00:00
Use NoError instead of NoErrorf
Prepping to roll back to the same version of testify that client-go uses, and that does not have NoErrorf. Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
This commit is contained in:
@@ -207,7 +207,7 @@ func TestProcessBackup(t *testing.T) {
|
||||
require.Error(t, err, "processBackup should error")
|
||||
return
|
||||
}
|
||||
require.NoErrorf(t, err, "processBackup unexpected error: %v", err)
|
||||
require.NoError(t, err, "processBackup unexpected error: %v", err)
|
||||
|
||||
if !test.expectBackup {
|
||||
assert.Empty(t, backupper.Calls)
|
||||
|
||||
Reference in New Issue
Block a user