Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

fix bad match error when cover data file not exists. #60

wants to merge 2 commits into


None yet
2 participants

It's quite minor fix.
Sometimes a test with meck would fail when cover data file didn't generate by any reason.

Hmm, this will still fail with a case-clause error. Can you give me anymore hints on how to reproduce the error?

I apologize for late reply.
This error may occur the same mocked module in two or more tests.
It's somewhat rare case, actually.


eproxus commented May 7, 2012

This justs adds a print statement when it fails, I think a normal badmatch will suffice for detecting this case. Together with line numbers in exceptions in R15 it should be easy to track down.

I'd appreciate a patch to fix the original problem, so please open another pull request if you have a clue of how to fix it. Alternatively open an issue with instructions of how to reproduce the error.

@eproxus eproxus closed this May 7, 2012

@eproxus eproxus added bug wontfix and removed bug labels Jun 29, 2017

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