| Index: pkg/unittest/test/matchers_test.dart
|
| diff --git a/pkg/unittest/test/matchers_test.dart b/pkg/unittest/test/matchers_test.dart
|
| index 149673badd2d0f7984cf97fbf3c31523738eff28..22f2f0ca479c8ed2d46220c1bf9ba42cefb4ba9b 100644
|
| --- a/pkg/unittest/test/matchers_test.dart
|
| +++ b/pkg/unittest/test/matchers_test.dart
|
| @@ -144,14 +144,14 @@ void main() {
|
| "NoSuchMethodError.");
|
| });
|
|
|
| - test('throwsNotImplementedException', () {
|
| - shouldPass(() { throw new NotImplementedException(''); },
|
| - throwsNotImplementedException);
|
| + test('throwsUnimplementedError', () {
|
| + shouldPass(() { throw new UnimplementedError(''); },
|
| + throwsUnimplementedError);
|
| shouldFail(() { throw new Exception(); },
|
| - throwsNotImplementedException,
|
| - "Expected: throws an exception which matches NotImplementedException "
|
| + throwsUnimplementedError,
|
| + "Expected: throws an exception which matches UnimplementedError "
|
| "but: exception <Exception> does not match "
|
| - "NotImplementedException.");
|
| + "UnimplementedError.");
|
| });
|
|
|
| test('throwsNullPointerException', () {
|
|
|