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

Unified Diff: dart/tests/lib/mirrors/private_symbol_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/mirrors_test.dart ('k') | dart/tests/lib/mirrors/to_string_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/lib/mirrors/private_symbol_test.dart
diff --git a/dart/tests/lib/mirrors/private_symbol_test.dart b/dart/tests/lib/mirrors/private_symbol_test.dart
index 7624531e8e8468a2f28370c23f183c8ee8204fb7..6b10d802af8adaefaea73fde9deeb91f5628d168 100644
--- a/dart/tests/lib/mirrors/private_symbol_test.dart
+++ b/dart/tests/lib/mirrors/private_symbol_test.dart
@@ -22,9 +22,9 @@ main() {
// Test private symbols are distinct across libraries, and the same within a
// library when created multiple ways. Test the string can be properly
// extracted.
- LibraryMirror libcore = currentMirrorSystem().findLibrary(#dart.core).single;
- LibraryMirror libmath = currentMirrorSystem().findLibrary(#dart.math).single;
- LibraryMirror libtest = currentMirrorSystem().findLibrary(#test).single;
+ LibraryMirror libcore = currentMirrorSystem().findLibrary(#dart.core);
+ LibraryMirror libmath = currentMirrorSystem().findLibrary(#dart.math);
+ LibraryMirror libtest = currentMirrorSystem().findLibrary(#test);
Symbol corefoo = MirrorSystem.getSymbol('foo', libcore);
Symbol mathfoo = MirrorSystem.getSymbol('foo', libmath);
« no previous file with comments | « dart/tests/lib/mirrors/mirrors_test.dart ('k') | dart/tests/lib/mirrors/to_string_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698