| Index: tests/compiler/dart2js_extra/interface_type_optimization_test.dart
|
| diff --git a/tests/compiler/dart2js_extra/interface_type_optimization_test.dart b/tests/compiler/dart2js_extra/interface_type_optimization_test.dart
|
| index a88a5e362fe035a18c45f3ab1574ea89924c5bd8..a03144741bd42bc4b46a68b2d27f0a10c9deb958 100644
|
| --- a/tests/compiler/dart2js_extra/interface_type_optimization_test.dart
|
| +++ b/tests/compiler/dart2js_extra/interface_type_optimization_test.dart
|
| @@ -15,7 +15,7 @@ main() {
|
|
|
| // Passing b to test should lead to an exception because the string
|
| // we end up passing to B.foo does not implement the - operator.
|
| - Expect.throws(() => test(b), (e) => e is NoSuchMethodException);
|
| + Expect.throws(() => test(b), (e) => e is NoSuchMethodError);
|
| }
|
|
|
| // TODO(kasperl): Make sure this does not get inlined.
|
|
|