| Index: tests/compiler/dart2js_foreign/native_no_such_method_exception2_test.dart
|
| diff --git a/tests/compiler/dart2js_foreign/native_no_such_method_exception2_test.dart b/tests/compiler/dart2js_foreign/native_no_such_method_exception2_test.dart
|
| index 6b86641524e50df1cc715706c3eb7f1991f763f4..940d4db244b039600cfc0cd0b350b692bd09162c 100644
|
| --- a/tests/compiler/dart2js_foreign/native_no_such_method_exception2_test.dart
|
| +++ b/tests/compiler/dart2js_foreign/native_no_such_method_exception2_test.dart
|
| @@ -40,7 +40,7 @@ main() {
|
| var exception;
|
| try {
|
| a.foo();
|
| - } catch (NoSuchMethodException e) {
|
| + } on NoSuchMethodException catch (e) {
|
| exception = e;
|
| }
|
| Expect.isNotNull(exception);
|
|
|