Index: tests/compiler/dart2js/jsinterop/world_test.dart |
diff --git a/tests/compiler/dart2js/jsinterop/world_test.dart b/tests/compiler/dart2js/jsinterop/world_test.dart |
index 821b25c06956fd709d5367c1d3aaaf29c428d06b..5eff8e2c3f935bc0646bd2e0f89a18cc4f2ee27c 100644 |
--- a/tests/compiler/dart2js/jsinterop/world_test.dart |
+++ b/tests/compiler/dart2js/jsinterop/world_test.dart |
@@ -23,8 +23,7 @@ testClasses() async { |
{List<String> directlyInstantiated: const <String>[], |
List<String> abstractlyInstantiated: const <String>[], |
List<String> indirectlyInstantiated: const <String>[]}) async { |
- TypeEnvironment env = await TypeEnvironment.create( |
- r""" |
+ TypeEnvironment env = await TypeEnvironment.create(r""" |
@JS() |
class A { |
get foo; |
@@ -73,13 +72,11 @@ newC() => new C(foo: 2); |
newD() => new D(foo: 3); |
newE() => new E(4); |
newF() => new F(5); |
-""", |
- mainSource: """ |
+""", mainSource: """ |
import 'package:js/js.dart'; |
$mainSource |
-""", |
- useMockCompiler: false); |
+""", useMockCompiler: false); |
Map<String, ClassElement> classEnvironment = <String, ClassElement>{}; |
ClassElement registerClass(ClassElement cls) { |