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

Show incorrect mock calls globally #23

Open
lindycoder opened this issue Nov 30, 2016 · 1 comment
Open

Show incorrect mock calls globally #23

lindycoder opened this issue Nov 30, 2016 · 1 comment

Comments

@lindycoder
Copy link
Contributor

When a mock call doesn't meet its expecation, the error is put on stdout during the call.

So when this code happens:

var=$(mocked-command)

then $var has the error "Unexpected call..." so it's hard to debug and see the problem

@mat128
Copy link
Contributor

mat128 commented Aug 29, 2018

Solved by #29, errors are (now) reported on a different channel (the mocks workspace) :)

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

No branches or pull requests

2 participants