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

Unified Diff: dart/tests/lib/mirrors/mirrors_test.dart

Issue 23455028: Mirrors overhaul. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r29550. Created 7 years, 2 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 | « dart/tests/lib/mirrors/metadata_test.dart ('k') | dart/tests/lib/mirrors/private_symbol_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/lib/mirrors/mirrors_test.dart
diff --git a/dart/tests/lib/mirrors/mirrors_test.dart b/dart/tests/lib/mirrors/mirrors_test.dart
index ba11c72034b78b616f6a4dddf0ed49f4b51be5c3..69210a384fd2c7c1f2a9ff435004bb0624337966 100644
--- a/dart/tests/lib/mirrors/mirrors_test.dart
+++ b/dart/tests/lib/mirrors/mirrors_test.dart
@@ -102,7 +102,7 @@ testIntercepted(mirrors) {
testFieldAccess(mirrors) {
var instance = new Class();
- var libMirror = mirrors.findLibrary(#MirrorsTest).single;
+ var libMirror = mirrors.findLibrary(#MirrorsTest);
var classMirror = libMirror.classes[#Class];
var instMirror = reflect(instance);
var fieldMirror = classMirror.members[#field];
@@ -218,7 +218,7 @@ testReflectClass(mirrors) {
}
testNames(mirrors) {
- var libMirror = mirrors.findLibrary(#MirrorsTest).single;
+ var libMirror = mirrors.findLibrary(#MirrorsTest);
var classMirror = libMirror.classes[#Class];
var typedefMirror = libMirror.members[#Typedef];
var methodMirror = libMirror.functions[#testNames];
« no previous file with comments | « dart/tests/lib/mirrors/metadata_test.dart ('k') | dart/tests/lib/mirrors/private_symbol_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698