mirror of https://github.com/stretchr/testify.git
parent
089c7181b8
commit
6b09f60392
|
@ -842,7 +842,7 @@ func EqualError(t TestingT, theError error, errString string, msgAndArgs ...inte
|
|||
return false
|
||||
}
|
||||
s := "An error with value \"%s\" is expected but got \"%s\". %s"
|
||||
return Equal(t, theError.Error(), errString,
|
||||
return Equal(t, errString, theError.Error(),
|
||||
s, errString, theError.Error(), message)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue