File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
spock-specs/src/test/groovy/org/spockframework/smoke/mock Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -405,7 +405,8 @@ then:
405405
406406 then :
407407 TooFewInvocationsError e = thrown()
408- e. message. trim() == """
408+ def normalizedMessage = e. message. normalize(). trim()
409+ normalizedMessage == """
409410Too few invocations for:
410411
4114121 * list.add({
@@ -420,22 +421,21 @@ Unmatched invocations (ordered by similarity):
420421
4214221 * list.add(Person)
422423One or more arguments(s) didn't match:
423- 0: There were 2 errors:
424- org.spockframework.runtime.ConditionNotSatisfiedError(Condition not satisfied:
424+ 0: Multiple Failures (2 failures)
425+ \t Condition not satisfied:
425426
426427 firstname == 'Willam'
427428 | |
428429 Willam T. false
429430 3 differences (66% similarity)
430431 Willam( T.)
431432 Willam(---)
432- )
433- org.spockframework.runtime.ConditionNotSatisfiedError(Condition not satisfied:
433+
434+ \t Condition not satisfied:
434435
435436 age == 35
436437 | |
437438 45 false
438- )
439439 """ . trim()
440440 }
441441
You can’t perform that action at this time.
0 commit comments