Spock Unroll seems to print something odd with boolean parameter
问题 I just put this test method together: @Unroll def 'super start edit should be called if cell is not empty'( boolean empty ){ given: DueDateEditor editor = GroovySpy( DueDateEditor ){ isEmpty() >> empty } when: editor.startEdit() then: if( empty){ 0 * editor.callSuperStartEdit() } else { 1 * editor.callSuperStartEdit() } where: empty | _ true | _ false | _ } ... it works OK in terms of the two tests passing... but when you make it fail it's very odd: the output if the parameter empty is false