| Index: tests/language/call_nonexistent_constructor_test.dart
|
| diff --git a/tests/language/call_nonexistent_constructor_test.dart b/tests/language/call_nonexistent_constructor_test.dart
|
| index 4f03e4a2e3ad6b8bbc68705ea632d8745d1851a0..f0f066873c3a1970221c7657f5221bd1136b41b4 100644
|
| --- a/tests/language/call_nonexistent_constructor_test.dart
|
| +++ b/tests/language/call_nonexistent_constructor_test.dart
|
| @@ -3,7 +3,7 @@
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| // When attempting to call a nonexistent constructor, check that a
|
| -// NoSuchMethodException is thrown.
|
| +// NoSuchMethodError is thrown.
|
|
|
| foo() {
|
| throw 'hest';
|
| @@ -24,7 +24,7 @@ main() {
|
| Expect.equals(1, i);
|
| try {
|
| new A();
|
| - } on NoSuchMethodException catch (e) {
|
| + } on NoSuchMethodError catch (e) {
|
| i = 2;
|
| }
|
| Expect.equals(2, i);
|
|
|