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

ExpectQuery used when ExpectExec is right produces confusing error. #77

Closed
ajackson-cpi opened this issue Apr 26, 2017 · 2 comments
Closed

Comments

@ajackson-cpi
Copy link

After many ExpectQuery tests, I copy-pasted it for an exec. The error made it seem like the arguments were mismatched when in reality I needed ExpectExec.

Please clean-up this error so that when the queries match that it indicates it should have been an Exec.

@l3pp4rd
Copy link
Member

l3pp4rd commented Apr 26, 2017

Hi, could you make a screenshot, because as far as I remember it mentions in the output about exact expectation type

@l3pp4rd
Copy link
Member

l3pp4rd commented Apr 26, 2017

2017-04-26-091625

well maybe it is a little confusing call to exec query might not be highly visible. But if I change it to ExecQuery there is also ExecQueryContext not sure whether that would be also confusing.

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

2 participants