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

Unified Diff: tests/compiler/dart2js/serialization/impact_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/serialization/impact_test.dart
diff --git a/tests/compiler/dart2js/serialization/impact_test.dart b/tests/compiler/dart2js/serialization/impact_test.dart
index 3858f70421c426ae41c1474308a68c6f74bddfb3..97a6e2ddda35e6d4894b62352e0a29e4b0dded0e 100644
--- a/tests/compiler/dart2js/serialization/impact_test.dart
+++ b/tests/compiler/dart2js/serialization/impact_test.dart
@@ -24,21 +24,16 @@ main(List<String> args) {
} else {
Uri entryPoint = Uri.parse('memory:main.dart');
await check(serializedData, entryPoint,
- sourceFiles: {'main.dart': 'main() {}'},
- verbose: arguments.verbose);
+ sourceFiles: {'main.dart': 'main() {}'}, verbose: arguments.verbose);
}
});
}
-Future check(
- SerializedData serializedData,
- Uri entryPoint,
- {Map<String, String> sourceFiles: const <String, String>{},
- bool verbose: false}) async {
-
- Compiler compilerNormal = compilerFor(
- memorySourceFiles: sourceFiles,
- options: [Flags.analyzeAll]);
+Future check(SerializedData serializedData, Uri entryPoint,
+ {Map<String, String> sourceFiles: const <String, String>{},
+ bool verbose: false}) async {
+ Compiler compilerNormal =
+ compilerFor(memorySourceFiles: sourceFiles, options: [Flags.analyzeAll]);
compilerNormal.resolution.retainCachesForTesting = true;
await compilerNormal.run(entryPoint);
« no previous file with comments | « tests/compiler/dart2js/serialization/helper.dart ('k') | tests/compiler/dart2js/serialization/library_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698