Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(740)

Unified Diff: runtime/tests/vm/dart/isolate_mirror_local_test.dart

Issue 19819003: Make reflective invocations raise NoSuchMethodErrors in the cases where non-reflective invocations … (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/lib/mirrors_impl.dart ('k') | tests/lib/lib.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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');
});
}
« no previous file with comments | « runtime/lib/mirrors_impl.dart ('k') | tests/lib/lib.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698