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

Unified Diff: tests/compiler/dart2js/serialization/resolved_ast_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/resolved_ast_test.dart
diff --git a/tests/compiler/dart2js/serialization/resolved_ast_test.dart b/tests/compiler/dart2js/serialization/resolved_ast_test.dart
index d39f90698f4feaac65ba6f174e2d8bf954992d3c..f18a7b64cf019073d3debd5fa68e3148fcc6227e 100644
--- a/tests/compiler/dart2js/serialization/resolved_ast_test.dart
+++ b/tests/compiler/dart2js/serialization/resolved_ast_test.dart
@@ -16,7 +16,6 @@ import 'helper.dart';
import 'test_data.dart';
import 'test_helper.dart';
-
main(List<String> args) {
Arguments arguments = new Arguments.from(args);
asyncTest(() async {
@@ -35,14 +34,10 @@ main(List<String> args) {
});
}
-Future check(
- SerializedData serializedData,
- Uri entryPoint,
- [Map<String, String> sourceFiles = const <String, String>{}]) async {
-
- Compiler compilerNormal = compilerFor(
- memorySourceFiles: sourceFiles,
- options: [Flags.analyzeAll]);
+Future check(SerializedData serializedData, Uri entryPoint,
+ [Map<String, String> sourceFiles = const <String, String>{}]) 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/reserialization_test.dart ('k') | tests/compiler/dart2js/serialization/test_data.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698