-
Notifications
You must be signed in to change notification settings - Fork 108
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
Version 0.7.0 breaks previous behaviour #45
Comments
Thanks for reporting this issue. Unfortunately I'm unsure how to reproduce this, looking at our PSPDFKit Instant codebase we have test cases with exactly the same pattern that all do work. Can you post a complete failing example, so I can reproduce and debug? |
Sorry for the slow reply @MSch, turns out that I slightly mis-represented the failing test case in my issue description, that's why you haven't been able to reproduce it. The codebase I refer to is actually using Here is a before/after PR: swoosh/swoosh#149 I'm wondering if that should still be mentioned as a breaking change somewhere, or if |
No worries @stevedomin and I'm glad we figured it out and it's working for you now 👍 You're right, So in that case it's not a breaking change, since it never was expected to work. I'm closing this, but please let me know if you think there's a way to improve the documentation to make these expectations clearer. A PR is welcome too :) |
Hello,
I recently upgraded one of my project using bypass 0.6 to 0.8 and it completely broke my test suite. It seems that having multiple
expect/2
in the same test case is no longer supported.Example:
With this setup I get the following error:
This seems like a backward-incompatible change and I haven't a found to make it work as it use to, any help would be appreciated. Thanks!
The text was updated successfully, but these errors were encountered: