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); |