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

Unified Diff: tests/lib/mirrors/library_imports_deferred_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/mirrors/library_imports_deferred_test.dart
diff --git a/tests/lib/mirrors/library_imports_deferred_test.dart b/tests/lib/mirrors/library_imports_deferred_test.dart
index be0cef9d096a38430f3d2f5b4f6d440477b6bc49..ab2668da7810dd41ba56d4235d35daabb1814412 100644
--- a/tests/lib/mirrors/library_imports_deferred_test.dart
+++ b/tests/lib/mirrors/library_imports_deferred_test.dart
@@ -14,14 +14,14 @@ import 'dart:collection' deferred as lazycollection;
test(MirrorSystem mirrors) {
LibraryMirror thisLibrary =
mirrors.findLibrary(#test.library_imports_deferred);
- LibraryMirror collection =
- mirrors.findLibrary(#dart.collection);
+ LibraryMirror collection = mirrors.findLibrary(#dart.collection);
- var importsOfCollection = thisLibrary.libraryDependencies.where(
- (dep) => dep.targetLibrary == collection).toList();
+ var importsOfCollection = thisLibrary.libraryDependencies
+ .where((dep) => dep.targetLibrary == collection)
+ .toList();
Expect.equals(2, importsOfCollection.length);
Expect.notEquals(importsOfCollection[0].isDeferred,
- importsOfCollection[1].isDeferred); // One deferred, one not.
+ importsOfCollection[1].isDeferred); // One deferred, one not.
// Only collection is defer-imported.
LibraryDependencyMirror dep =

Powered by Google App Engine
This is Rietveld 408576698