| Index: pkg/unittest/lib/src/operator_matchers.dart
|
| diff --git a/pkg/unittest/lib/src/operator_matchers.dart b/pkg/unittest/lib/src/operator_matchers.dart
|
| index d5142bea1a8e3e5aff251b9ea4b83c8e6b481d9f..c7421b7044a381094c2caf43b1cf86e003d71813 100644
|
| --- a/pkg/unittest/lib/src/operator_matchers.dart
|
| +++ b/pkg/unittest/lib/src/operator_matchers.dart
|
| @@ -94,9 +94,9 @@ class _AllOf extends BaseMatcher {
|
| Description describeMismatch(item, Description mismatchDescription,
|
| MatchState matchState, bool verbose) {
|
| var matcher = matchState.state['matcher'];
|
| - mismatchDescription.addDescriptionOf(matcher).add(' ');
|
| - matcher.describeMismatch(item, mismatchDescription,
|
| - matchState.state['state'], verbose);
|
| + matcher.describeMismatch(item, mismatchDescription,
|
| + matchState.state['state'], verbose);
|
| + mismatchDescription.add(" (wasn't ").addDescriptionOf(matcher).add(')');
|
| return mismatchDescription;
|
| }
|
|
|
|
|