| Index: pkg/unittest/lib/src/core_matchers.dart
|
| ===================================================================
|
| --- pkg/unittest/lib/src/core_matchers.dart (revision 18401)
|
| +++ pkg/unittest/lib/src/core_matchers.dart (working copy)
|
| @@ -180,13 +180,13 @@
|
| if (includeTypes || depth > 1) {
|
| reason.add('expected ');
|
| if (includeTypes) {
|
| - reason..add(expected.runtimeType).add(':');
|
| + reason.add(expected.runtimeType.toString()).add(':');
|
| }
|
| reason.addDescriptionOf(expected).add(' but ');
|
| }
|
| reason.add('was ');
|
| if (includeTypes) {
|
| - reason..add(actual.runtimeType).add(':');
|
| + reason.add(actual.runtimeType.toString()).add(':');
|
| }
|
| reason.addDescriptionOf(actual);
|
| }
|
|
|