We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 906faba commit c0b66a7Copy full SHA for c0b66a7
grails-test-suite-uber/src/test/groovy/grails/validation/ValidateableMockSpec.groovy
@@ -12,9 +12,9 @@ class ValidateableMockSpec extends Specification {
12
1 * command.validate() >> true
13
1 * command.validate() >> false
14
15
- 1 * command.validate(_) >> true
16
- 1 * command.validate(_) >> false
17
- 1 * command.validate(_, _) >> true
+ 1 * command.validate(_ as List) >> true
+ 1 * command.validate(_ as Map) >> false
+ 1 * command.validate(_ as List, _ as Map) >> true
18
19
expect:
20
command.validate()
0 commit comments