| Index: tests/compiler/dart2js_extra/deferred/deferred_class_test.dart
|
| diff --git a/tests/compiler/dart2js_extra/deferred/deferred_class_test.dart b/tests/compiler/dart2js_extra/deferred/deferred_class_test.dart
|
| index ae4964acebf8ab5fde2b37dd1d5142628e8853f4..8857e2e63e3ea49ee6653a2952b3925f1d4921b6 100644
|
| --- a/tests/compiler/dart2js_extra/deferred/deferred_class_test.dart
|
| +++ b/tests/compiler/dart2js_extra/deferred/deferred_class_test.dart
|
| @@ -11,11 +11,11 @@ import 'dart:async';
|
|
|
| const lazy = const DeferredLibrary('deferred_class_library');
|
|
|
| -isNoSuchMethodError(e) => e is NoSuchMethodError;
|
| +isError(e) => e is Error;
|
|
|
| main() {
|
| var x;
|
| - Expect.throws(() { x = new lib.MyClass(); }, isNoSuchMethodError);
|
| + Expect.throws(() { x = new lib.MyClass(); }, isError);
|
| Expect.isNull(x);
|
| int counter = 0;
|
| asyncStart();
|
| @@ -40,6 +40,6 @@ main() {
|
| });
|
| Expect.equals(0, counter);
|
| Expect.isNull(x);
|
| - Expect.throws(() { x = new lib.MyClass(); }, isNoSuchMethodError);
|
| + Expect.throws(() { x = new lib.MyClass(); }, isError);
|
| Expect.isNull(x);
|
| }
|
|
|