| Index: tests/language/local_function_test.dart
|
| diff --git a/tests/language/local_function_test.dart b/tests/language/local_function_test.dart
|
| index c694e2ca62771fd8d853e5287b0bf6159fdd9403..c9888a0ffcd787c0b98b10c9d58af479b8330355 100644
|
| --- a/tests/language/local_function_test.dart
|
| +++ b/tests/language/local_function_test.dart
|
| @@ -166,7 +166,7 @@ class LocalFunctionTest {
|
| exception_caught = false;
|
| try {
|
| f(1);
|
| - } on ObjectNotClosureException catch (e) {
|
| + } on NoSuchMethodError catch (e) {
|
| exception_caught = true;
|
| }
|
| Expect.equals(true, exception_caught);
|
|
|