| 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() {}
|
| -""",};
|
| +""",
|
| +};
|
|
|