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

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

Issue 21119002: Implement reflect() with Dart code, InstanceMirror.type and ClosureMirror.function with internal co… (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
Index: runtime/tests/vm/dart/isolate_mirror_local_test.dart
===================================================================
--- runtime/tests/vm/dart/isolate_mirror_local_test.dart (revision 25579)
+++ runtime/tests/vm/dart/isolate_mirror_local_test.dart (working copy)
@@ -390,8 +390,7 @@
}
void testNullInstanceMirror(InstanceMirror mirror) {
- // TODO(turnidge): This is returning the wrong class. Fix it.
- Expect.equals(const Symbol('Object'), mirror.type.simpleName);
+ Expect.equals(const Symbol('Null'), mirror.type.simpleName);
Expect.isTrue(mirror.hasReflectee);
Expect.equals(null, mirror.reflectee);
Expect.equals("InstanceMirror on null", mirror.toString());

Powered by Google App Engine
This is Rietveld 408576698