We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Both InEpsilon and InEpsilonSlice has parameter expected before actual
InEpsilon
InEpsilonSlice
expected
actual
func InEpsilon(t TestingT, expected, actual interface{}, epsilon float64, msgAndArgs ...interface{}) bool func InEpsilonSlice(t TestingT, expected, actual interface{}, epsilon float64, msgAndArgs ...interface{}) bool
However, InEpsilon's call inside InEpsilonSlice has the arguments misplaced:
result := InEpsilon(t, actualSlice.Index(i).Interface(), expectedSlice.Index(i).Interface(), epsilon)
The text was updated successfully, but these errors were encountered:
stretchr#946 Colorize Expected and Actual in Assert & Require + Minor F…
3f1aaba
…ixes: stretchr#1112, stretchr#1086 & stretchr#1231
eac35b2
@vaguecoder can you assign this to me? I would like to work on this if this is still open.
Sorry, something went wrong.
assert.InEpsilonSlice: fix order of expected vs actual (#1231)
6895169
@vaguecoder @premkirank Please review #1483.
f7fbc7d
Successfully merging a pull request may close this issue.
Both
InEpsilon
andInEpsilonSlice
has parameterexpected
beforeactual
However,
InEpsilon
's call insideInEpsilonSlice
has the arguments misplaced:The text was updated successfully, but these errors were encountered: