We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02f92a8 commit c86f2c2Copy full SHA for c86f2c2
spock-core/src/main/java/org/spockframework/compiler/condition/DefaultConditionRewriterResources.java
@@ -60,7 +60,7 @@ public Block getCurrentBlock() {
60
61
@Override
62
public VariableExpression captureOldValue(Expression oldValue) {
63
- throw new UnsupportedOperationException("captureOldValue");
+ throw new UnsupportedOperationException("This should only be called when processing a then-block");
64
}
65
66
0 commit comments