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