| Index: pkg/unittest/test/instance_test.dart
|
| diff --git a/pkg/unittest/test/instance_test.dart b/pkg/unittest/test/instance_test.dart
|
| index deb1c215ba84b59c2b78a9af6de4003e5973b467..39402c952a85201f8fa977ee174af6fae8783fba 100644
|
| --- a/pkg/unittest/test/instance_test.dart
|
| +++ b/pkg/unittest/test/instance_test.dart
|
| @@ -15,15 +15,17 @@ main() {
|
| group('Type Matchers', () {
|
| test('isInstanceOf', () {
|
| shouldFail(0, new isInstanceOf<String>('String'),
|
| - "Expected: an instance of String but: was <0>.");
|
| + "Expected: an instance of String But: was <0>.");
|
| shouldPass('cow', new isInstanceOf<String>('String'));
|
| });
|
|
|
| test('throwsA', () {
|
| shouldPass(doesThrow, throwsA(equals('X')));
|
| shouldFail(doesThrow, throwsA(equals('Y')),
|
| - "Expected: throws an exception which matches 'Y' "
|
| - "but: exception 'X' does not match 'Y'.");
|
| + "Expected: throws an exception which matches 'Y' "
|
| + "But: exception 'X' does not match 'Y'. "
|
| + "Actual: <Closure: (dynamic) => dynamic "
|
| + "from Function 'doesThrow': static.>");
|
| });
|
| });
|
| }
|
|
|