Skip to content

Commit

Permalink
Fix error check
Browse files Browse the repository at this point in the history
Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>
  • Loading branch information
dbussink committed May 7, 2024
1 parent 4a841ef commit 6472ee0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions go/vt/mysqlctl/backupengine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,7 @@ func TestValidateMySQLVersionUpgradeCompatible(t *testing.T) {
if tc.error == "" {
assert.NoError(t, err)
} else {
assert.Error(t, err)
assert.Equal(t, tc.error, err.Error())
assert.EqualError(t, err, tc.error)
}
})
}
Expand Down

0 comments on commit 6472ee0

Please sign in to comment.