Index: tests/lib/mirrors/libraries_test.dart |
diff --git a/tests/lib/mirrors/libraries_test.dart b/tests/lib/mirrors/libraries_test.dart |
index c9613d62064e7d9c311c0b532237904df043a17e..1fd5d33bc1c405d9d5d71a0a1eab6341844331d3 100644 |
--- a/tests/lib/mirrors/libraries_test.dart |
+++ b/tests/lib/mirrors/libraries_test.dart |
@@ -18,7 +18,7 @@ main() { |
LibraryMirror mirrorsLibrary = libraries[Uri.parse('dart:mirrors')]; |
Expect.isNotNull(mirrorsLibrary, 'mirrorsLibrary is null'); |
- ClassMirror cls = mirrorsLibrary.classes[#LibraryMirror]; |
+ ClassMirror cls = mirrorsLibrary.declarations[#LibraryMirror]; |
Expect.isNotNull(cls, 'cls is null'); |
Expect.equals(#dart.mirrors.LibraryMirror, cls.qualifiedName); |