Skip to content

Commit c86f2c2

Browse files
committed
Review Feedback Vol. 3
1 parent 02f92a8 commit c86f2c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spock-core/src/main/java/org/spockframework/compiler/condition/DefaultConditionRewriterResources.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public Block getCurrentBlock() {
6060

6161
@Override
6262
public VariableExpression captureOldValue(Expression oldValue) {
63-
throw new UnsupportedOperationException("captureOldValue");
63+
throw new UnsupportedOperationException("This should only be called when processing a then-block");
6464
}
6565

6666
@Override

0 commit comments

Comments
 (0)