-
Notifications
You must be signed in to change notification settings - Fork 91
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
assert fail throws Boxed Error #275
Comments
Hi @alexagnelli, thanks for reporting. This is due to how Future handles subclasses of
from https://docs.scala-lang.org/overviews/core/futures.html Ultimately this is caused by MUnit's exceptions extending I've tried digging a bit into this, but I couldn't spot an easy way to get rid of the intermediate |
Hi @gabro, thank you for digging up so quickly. The only thing I found is:
|
@alexagnelli the only thing related there is the handling of |
Thank you for reporting! I actually had a pending fix for this issue in |
When this code is executed I get a Boxed Error, which can be confusing
Result:
Expected:
If the assertion return true everything works as expected
munit version: 0.7.19
scala version: 2.11.12, 2.12.12
scala version 2.13.4 works as expected
The text was updated successfully, but these errors were encountered: