| Index: tests/language/local_function_test.dart
|
| diff --git a/tests/language/local_function_test.dart b/tests/language/local_function_test.dart
|
| index c9888a0ffcd787c0b98b10c9d58af479b8330355..6c6ab883ce1781e5edf6db3072ded174a858b50b 100644
|
| --- a/tests/language/local_function_test.dart
|
| +++ b/tests/language/local_function_test.dart
|
| @@ -142,14 +142,14 @@ class LocalFunctionTest {
|
| bool exception_caught = false;
|
| try {
|
| f(1, 2);
|
| - } on ClosureArgumentMismatchException catch (e) {
|
| + } on NoSuchMethodError catch (e) {
|
| exception_caught = true;
|
| }
|
| Expect.equals(true, exception_caught);
|
| exception_caught = false;
|
| try {
|
| f();
|
| - } on ClosureArgumentMismatchException catch (e) {
|
| + } on NoSuchMethodError catch (e) {
|
| exception_caught = true;
|
| }
|
| Expect.equals(true, exception_caught);
|
|
|