Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(611)

Unified Diff: tests/lib_strong/mirrors/library_imports_metadata_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/lib_strong/mirrors/library_imports_metadata_test.dart
diff --git a/tests/lib_strong/mirrors/library_imports_metadata_test.dart b/tests/lib_strong/mirrors/library_imports_metadata_test.dart
index aa96d01dbdca8754a786ea8e5b7c6ac56f84f436..ab1c15d66a23ef2723be8f2e0c83ebff561635fb 100644
--- a/tests/lib_strong/mirrors/library_imports_metadata_test.dart
+++ b/tests/lib_strong/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);
}

Powered by Google App Engine
This is Rietveld 408576698