| Index: tests/language/arithmetic2_test.dart
|
| diff --git a/tests/language/arithmetic2_test.dart b/tests/language/arithmetic2_test.dart
|
| index efe9c387653996e76a7c3318005f3b3d49254c54..c534a45a2bfdff2d9ad8647e1d4676edae32879b 100644
|
| --- a/tests/language/arithmetic2_test.dart
|
| +++ b/tests/language/arithmetic2_test.dart
|
| @@ -12,7 +12,7 @@ bool throwsNoSuchMethod(f) {
|
| try {
|
| f();
|
| return false;
|
| - } on NoSuchMethodException catch (e) {
|
| + } on NoSuchMethodError catch (e) {
|
| return true;
|
| }
|
| return false;
|
| @@ -22,7 +22,7 @@ bool throwsBecauseOfBadArgument(f) {
|
| try {
|
| f();
|
| return false;
|
| - } on NoSuchMethodException catch (e) {
|
| + } on NoSuchMethodError catch (e) {
|
| return true;
|
| } on IllegalArgumentException catch (e) {
|
| return true;
|
|
|