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

Unified Diff: tests/compiler/dart2js/deferred_follow_implicit_super_regression_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_follow_implicit_super_regression_test.dart
diff --git a/tests/compiler/dart2js/deferred_follow_implicit_super_regression_test.dart b/tests/compiler/dart2js/deferred_follow_implicit_super_regression_test.dart
index b0839583735051063c6ab79a8588f35e487c6517..7ec33186aabbca76e145ccd7551e11ed2e1d3f1f 100644
--- a/tests/compiler/dart2js/deferred_follow_implicit_super_regression_test.dart
+++ b/tests/compiler/dart2js/deferred_follow_implicit_super_regression_test.dart
@@ -6,12 +6,11 @@ import 'package:expect/expect.dart';
import 'package:async_helper/async_helper.dart';
import 'memory_compiler.dart';
-import 'package:compiler/src/compiler.dart'
- as dart2js;
+import 'package:compiler/src/compiler.dart' as dart2js;
void main() {
asyncTest(() async {
- CompilationResult result =
+ CompilationResult result =
await runCompiler(memorySourceFiles: MEMORY_SOURCE_FILES);
dart2js.Compiler compiler = result.compiler;
@@ -39,7 +38,7 @@ void main() {
// Make sure that the implicit references to supers are found by the deferred
// loading dependency mechanism.
const Map MEMORY_SOURCE_FILES = const {
- "main.dart":"""
+ "main.dart": """
import "lib.dart" deferred as lib;
void main() {
@@ -51,7 +50,7 @@ void main() {
});
}
""",
- "lib.dart":"""
+ "lib.dart": """
a() => print("123");
b() => print("123");

Powered by Google App Engine
This is Rietveld 408576698