Skip to content

Commit dedede9

Browse files
authored
Fix broken test (#1689)
The interceptor used in the test did not call proceed(). Due to that there was never any failure even if the test condition should not hold.
1 parent 643e272 commit dedede9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spock-specs/src/test/groovy/org/spockframework/smoke/parameterization/MethodParameters.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ def foo() {
263263
assert it.arguments.size() == 1
264264
assert it.arguments.first() == MISSING_ARGUMENT
265265
it.arguments[0] = 'foo'
266+
it.proceed()
266267
}
267268
}
268269
}

0 commit comments

Comments
 (0)