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

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

Issue 20066004: Change the return value of setField to be in line with non-reflective assignments. Complete unwrapp… (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 25456)
+++ runtime/tests/vm/dart/isolate_mirror_local_test.dart (working copy)
@@ -483,13 +483,9 @@
Expect.isTrue(false);
})
.catchError((error) {
- Expect.isTrue(error is MirroredUncaughtExceptionError);
- Expect.equals(const Symbol('MyException'),
- error.exception_mirror.type.simpleName);
+ Expect.isTrue(error is MyException);
Expect.equals('MyException: from methodWithException',
- error.exception_string);
- Expect.isTrue(error.stacktrace.toString().contains(
- 'isolate_mirror_local_test.dart'));
+ error.toString());
testDone('testMirrorErrors1');
});
« 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