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

Unified Diff: tests/compiler/dart2js/deferred_load_graph_segmentation2_test.dart

Issue 2345083003: dart2js: run dartfmt on tests (Closed)
Patch Set: revert another multipart test Created 4 years, 3 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/compiler/dart2js/deferred_load_graph_segmentation2_test.dart
diff --git a/tests/compiler/dart2js/deferred_load_graph_segmentation2_test.dart b/tests/compiler/dart2js/deferred_load_graph_segmentation2_test.dart
index 52ad4d4240d81e6405ce59a34a629608776b383f..1320fe2614fdb9d2b278e2b7a3dfe232a84a773c 100644
--- a/tests/compiler/dart2js/deferred_load_graph_segmentation2_test.dart
+++ b/tests/compiler/dart2js/deferred_load_graph_segmentation2_test.dart
@@ -37,7 +37,8 @@ void main() {
// lib1 and lib2 also import lib4 deferred, but lib1 uses lib4.bar1 and lib2
// uses lib4.bar2. So two output units should be created for lib4, one for each
// import.
-const Map MEMORY_SOURCE_FILES = const {"main.dart": """
+const Map MEMORY_SOURCE_FILES = const {
+ "main.dart": """
import "dart:async";
import 'lib.dart' deferred as lib show f1;
@@ -49,7 +50,8 @@ void main() {
print(lib.f1());
});
}
-""", "lib.dart": """
+""",
+ "lib.dart": """
int f1 () {
return 1;
}
@@ -57,4 +59,5 @@ int f1 () {
int f2 () {
return 2;
}
-""",};
+""",
+};

Powered by Google App Engine
This is Rietveld 408576698