| Index: runtime/tests/vm/dart/isolate_mirror_local_test.dart
|
| ===================================================================
|
| --- runtime/tests/vm/dart/isolate_mirror_local_test.dart (revision 25386)
|
| +++ runtime/tests/vm/dart/isolate_mirror_local_test.dart (working copy)
|
| @@ -513,9 +513,9 @@
|
| Expect.isTrue(false);
|
| })
|
| .catchError((error) {
|
| - Expect.isTrue(error is MirroredCompilationError);
|
| - Expect.isTrue(error.message.contains(
|
| - "did not find top-level function 'methodNotFound'"));
|
| + Expect.isTrue(error is NoSuchMethodError);
|
| + Expect.isTrue(error.toString().contains(
|
| + "No top-level method 'methodNotFound'"));
|
| testDone('testMirrorErrors3');
|
| });
|
| }
|
|
|