| Index: pkg/unittest/lib/src/string_matchers.dart
|
| ===================================================================
|
| --- pkg/unittest/lib/src/string_matchers.dart (revision 23884)
|
| +++ pkg/unittest/lib/src/string_matchers.dart (working copy)
|
| @@ -53,8 +53,9 @@
|
| Description describeMismatch(item, Description mismatchDescription,
|
| MatchState matchState, bool verbose) {
|
| if (item is String) {
|
| - return mismatchDescription.add('was ').
|
| - addDescriptionOf(collapseWhitespace(item));
|
| + return mismatchDescription.add('is ').
|
| + addDescriptionOf(collapseWhitespace(item)).
|
| + add(' with whitespace compressed');
|
| } else {
|
| return super.describeMismatch(item, mismatchDescription,
|
| matchState, verbose);
|
|
|