-
Notifications
You must be signed in to change notification settings - Fork 476
Enable implicit non-top-level conditions (#1160) #2250
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
base: master
Are you sure you want to change the base?
Conversation
|
While fixing the verify methods also stumbled over the sole line that needs to be changed to enable non-top-level implicit conditions. |
007a5a9 to
70fb92e
Compare
|
Ok, two tests. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2250 +/- ##
=========================================
Coverage 82.07% 82.07%
Complexity 4753 4753
=========================================
Files 465 465
Lines 14872 14873 +1
Branches 1877 1877
=========================================
+ Hits 12206 12207 +1
Misses 1978 1978
Partials 688 688
🚀 New features to boost your workflow:
|
|
Very nice, but should we maybe wait for or plan a Spock 3 version? So I would be for delaying that PR until we released 2.4 finally and then we plan a 3.0 as next version. |
|
While I also want to get rid of this confusing behavior, I think we should postpone it until Spock 3.0, as the breaking change is quite significant. |
|
Up to @leonard84 I'd say. In my personal opinion I think the change is not that much breaking. And the cases where this is not the case, but the behavior used like in the two cases we had in the codebase, you can easily use We were seldomly shy to do breaking changes, why become shy now? :-) If you really think it is too breaking to bring it in 2.4 now, no problem, just delay it until later. As I said, I just thought I'll do the changes now that I have the details and easy solution in mind. and did it in a way it could still make it into 2.4 (regarding the release notes changes). |
70fb92e to
5633a59
Compare
5633a59 to
34517fe
Compare

Fixes #1160