| Index: tests/lib/mirrors/library_imports_metadata_test.dart
|
| diff --git a/tests/lib/mirrors/library_imports_metadata_test.dart b/tests/lib/mirrors/library_imports_metadata_test.dart
|
| index aa96d01dbdca8754a786ea8e5b7c6ac56f84f436..ab1c15d66a23ef2723be8f2e0c83ebff561635fb 100644
|
| --- a/tests/lib/mirrors/library_imports_metadata_test.dart
|
| +++ b/tests/lib/mirrors/library_imports_metadata_test.dart
|
| @@ -11,15 +11,17 @@ import 'stringify.dart';
|
| import 'library_imports_metadata.dart';
|
|
|
| main() {
|
| - LibraryMirror lib = currentMirrorSystem().findLibrary(#library_imports_metadata);
|
| + LibraryMirror lib =
|
| + currentMirrorSystem().findLibrary(#library_imports_metadata);
|
|
|
| LibraryMirror core = currentMirrorSystem().findLibrary(#dart.core);
|
| LibraryMirror mirrors = currentMirrorSystem().findLibrary(#dart.mirrors);
|
| - LibraryMirror collection = currentMirrorSystem().findLibrary(#dart.collection);
|
| + LibraryMirror collection =
|
| + currentMirrorSystem().findLibrary(#dart.collection);
|
| LibraryMirror async = currentMirrorSystem().findLibrary(#dart.async);
|
|
|
| Expect.setEquals([core, mirrors, collection, async],
|
| - lib.libraryDependencies.map((dep) => dep.targetLibrary));
|
| + lib.libraryDependencies.map((dep) => dep.targetLibrary));
|
|
|
| Expect.stringEquals(
|
| 'import dart.async\n'
|
| @@ -31,20 +33,24 @@ main() {
|
| Expect.listEquals(
|
| [].map(reflect).toList(),
|
| lib.libraryDependencies
|
| - .singleWhere((dep) => dep.targetLibrary == core).metadata);
|
| + .singleWhere((dep) => dep.targetLibrary == core)
|
| + .metadata);
|
|
|
| Expect.listEquals(
|
| [m1].map(reflect).toList(),
|
| lib.libraryDependencies
|
| - .singleWhere((dep) => dep.targetLibrary == mirrors).metadata);
|
| + .singleWhere((dep) => dep.targetLibrary == mirrors)
|
| + .metadata);
|
|
|
| Expect.listEquals(
|
| [m2, m3].map(reflect).toList(),
|
| lib.libraryDependencies
|
| - .singleWhere((dep) => dep.targetLibrary == collection).metadata);
|
| + .singleWhere((dep) => dep.targetLibrary == collection)
|
| + .metadata);
|
|
|
| Expect.listEquals(
|
| [].map(reflect).toList(),
|
| lib.libraryDependencies
|
| - .singleWhere((dep) => dep.targetLibrary == async).metadata);
|
| + .singleWhere((dep) => dep.targetLibrary == async)
|
| + .metadata);
|
| }
|
|
|