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:
Andy Goldstein
2017-08-07 11:20:38 -04:00
parent 045e5380d2
commit 2c9d22771c
2 changed files with 6 additions and 6 deletions

View File

@@ -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)