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

Improve context in mock error message #89

Open
jjtt opened this issue Oct 11, 2023 · 0 comments · May be fixed by #91
Open

Improve context in mock error message #89

jjtt opened this issue Oct 11, 2023 · 0 comments · May be fixed by #91

Comments

@jjtt
Copy link
Contributor

jjtt commented Oct 11, 2023

Trying to mock the db for a codebase that uses multiple inserters and it's a bit of a learning curve to figure out what needs to be done.

One small change that made things easier for me was just adding req to the panic message here:

_ => panic!("unexpected request, no predefined responses left"),

@jjtt jjtt linked a pull request Oct 23, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant