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

MySql mock - misleading error message #44

Open
shanejansen opened this issue Feb 11, 2022 · 1 comment
Open

MySql mock - misleading error message #44

shanejansen opened this issue Feb 11, 2022 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@shanejansen
Copy link
Owner

MySql mock method does_not_exist has a misleading error message: "was found 1 time(s) but expected any time(s)"

@shanejansen shanejansen added this to the v1.4.1 milestone Feb 11, 2022
@shanejansen shanejansen added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Feb 11, 2022
@ScottFreeCode
Copy link
Contributor

I believe this is more of a bug than an enhancement: yet another case where 0 times vs. None times aren't being correctly distinguished, this case in the assertion failure reporting.

It probably happons for more than just the MySQL mock. Could happen for the reporting of 0 times assertions with any mock.

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

No branches or pull requests

2 participants