| Index: pkg/unittest/test/matchers_test.dart
|
| ===================================================================
|
| --- pkg/unittest/test/matchers_test.dart (revision 13683)
|
| +++ pkg/unittest/test/matchers_test.dart (working copy)
|
| @@ -517,9 +517,11 @@
|
|
|
| group('Predicate Matchers', () {
|
| test('isInstanceOf', () {
|
| - shouldFail(0, predicate((x) => x is String, "an instance of String"),
|
| - "Expected: an instance of String but: was <0>.");
|
| - shouldPass('cow', predicate((x) => x is String, "an instance of String"));
|
| + shouldFail(0, predicate((x) => x is String,
|
| + description: "an instance of String"),
|
| + "Expected: an instance of String but: was <0>.");
|
| + shouldPass('cow', predicate((x) => x is String,
|
| + description: "an instance of String"));
|
| });
|
| });
|
| }
|
|
|