-
Notifications
You must be signed in to change notification settings - Fork 466
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
Power assertion broken for non-static inner class after upgrade to Groovy 3.0.8 #1318
Comments
@Vampire would you take a look, as you did the original fix. From what I can see is that the check @paulk-asert do you know of any changes in groovy that might cause this? |
I think apache/groovy#1531 is the culprit, we will have to update the |
Yes, you are totally right. |
Issue description
Power assertion has broken for non-static inner class after upgrade to Groovy 3.0.8.
How to reproduce
fails wtih Groovy 3.0.7 with:
With Groovy 3.0.8 there is:
The same assertion with plain Groovy (without Spock) works fine.
Additional Environment information
Spock master, Groovy 3.0.8
Additional information
The test for that case was added in autumn 2020 in #930.
Sample failure: https://github.com/spockframework/spock/pull/1316/checks?check_run_id=2475170792#step:6:130
The text was updated successfully, but these errors were encountered: