Skip to content

Commit c0b66a7

Browse files
Add types
Related to #9761
1 parent 906faba commit c0b66a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

grails-test-suite-uber/src/test/groovy/grails/validation/ValidateableMockSpec.groovy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class ValidateableMockSpec extends Specification {
1212
1 * command.validate() >> true
1313
1 * command.validate() >> false
1414
1 * command.validate() >> true
15-
1 * command.validate(_) >> true
16-
1 * command.validate(_) >> false
17-
1 * command.validate(_, _) >> true
15+
1 * command.validate(_ as List) >> true
16+
1 * command.validate(_ as Map) >> false
17+
1 * command.validate(_ as List, _ as Map) >> true
1818

1919
expect:
2020
command.validate()

0 commit comments

Comments
 (0)