Skip to content
New issue

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

InEpsilonSlice doesn't print the message #763

Open
pkaeding opened this issue May 8, 2019 · 0 comments
Open

InEpsilonSlice doesn't print the message #763

pkaeding opened this issue May 8, 2019 · 0 comments

Comments

@pkaeding
Copy link

pkaeding commented May 8, 2019

InEpsilonSlice is implemented as a series of calls to InEpsilon (which is not unexpected), but when it calls InEpsilon, it does not pass the msgAndArgs ...interface{}. As a result, the failures are not very helpful, because the default output of InEpsilon only tells the relative error, not the expected & actual values.

It isn't immediately obvious to me how InEpsilonSlice should deal with the messages when calling InEpsilon-- especially if there are multiple mismatches, would you want to print the same message each time?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant