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

Unified Diff: tests/compiler/dart2js/deferred_custom_element_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_custom_element_test.dart
diff --git a/tests/compiler/dart2js/deferred_custom_element_test.dart b/tests/compiler/dart2js/deferred_custom_element_test.dart
index 07851d8d7eae1e073457b9aea19b94bb4e1109f9..c89ec9af11fdc0a508c6561a815ce975b1433f72 100644
--- a/tests/compiler/dart2js/deferred_custom_element_test.dart
+++ b/tests/compiler/dart2js/deferred_custom_element_test.dart
@@ -31,7 +31,8 @@ void main() {
// The main library imports a file defining a custom element.
// Registering this class implicitly causes the constructors to be
// live. Check that this is handled.
-const Map MEMORY_SOURCE_FILES = const {"main.dart": """
+const Map MEMORY_SOURCE_FILES = const {
+ "main.dart": """
import "lib.dart" deferred as a;
import 'dart:html';
@@ -39,7 +40,8 @@ main() {
document.registerElement("foo-tag", a.a);
a.foo();
}
-""", "lib.dart": """
+""",
+ "lib.dart": """
import 'dart:html';
var a = CustomType;
@@ -49,4 +51,5 @@ class CustomType extends HtmlElement {
}
foo() {}
-""",};
+""",
+};

Powered by Google App Engine
This is Rietveld 408576698