Index: dart/tests/lib/mirrors/metadata_test.dart |
diff --git a/dart/tests/lib/mirrors/metadata_test.dart b/dart/tests/lib/mirrors/metadata_test.dart |
index 260874600d9551c9a153222a7e4249209215f5ad..24998d264d41d41f56453a54ba5156a30567cbb1 100644 |
--- a/dart/tests/lib/mirrors/metadata_test.dart |
+++ b/dart/tests/lib/mirrors/metadata_test.dart |
@@ -53,7 +53,7 @@ main() { |
MirrorSystem mirrors = currentMirrorSystem(); |
ClassMirror myClassMirror = reflectClass(MyClass); |
checkMetadata(myClassMirror, [symbol, string]); |
- LibraryMirror lib = mirrors.findLibrary(#test.metadata_test).first; |
+ LibraryMirror lib = mirrors.findLibrary(#test.metadata_test); |
MethodMirror function = lib.functions[#main]; |
checkMetadata(function, [symbol, string, symbol]); |
MethodMirror method = myClassMirror.methods[#myMethod]; |