| Index: tests/compiler/dart2js_native/native_null_closure_frog_test.dart
|
| diff --git a/tests/compiler/dart2js_native/native_null_closure_frog_test.dart b/tests/compiler/dart2js_native/native_null_closure_frog_test.dart
|
| index 8a368d21648da3cab3b2a356a0df92b10e3598f8..53ac384dfaf64324d89855c4a77b3951a28113f0 100644
|
| --- a/tests/compiler/dart2js_native/native_null_closure_frog_test.dart
|
| +++ b/tests/compiler/dart2js_native/native_null_closure_frog_test.dart
|
| @@ -29,7 +29,7 @@ main() {
|
| bool caughtException = false;
|
| try {
|
| a.invoke();
|
| - } catch (Exception e) {
|
| + } on Exception catch (e) {
|
| caughtException = true;
|
| }
|
| Expect.isTrue(caughtException);
|
|
|