Index: tests/compiler/dart2js/members_test.dart |
diff --git a/tests/compiler/dart2js/members_test.dart b/tests/compiler/dart2js/members_test.dart |
index 88131a8ad41636d9e8cc14a71f780c67ff447747..a08f7b6a0e36b0d7266ad57e9dc425f53bbce666 100644 |
--- a/tests/compiler/dart2js/members_test.dart |
+++ b/tests/compiler/dart2js/members_test.dart |
@@ -163,9 +163,7 @@ void checkMemberCount(ResolutionInterfaceType cls, int expectedCount, |
} |
void testClassMembers() { |
- asyncTest(() => TypeEnvironment |
- .create( |
- r""" |
+ asyncTest(() => TypeEnvironment.create(r""" |
abstract class A { |
int field; |
final finalField = 0; |
@@ -189,9 +187,7 @@ void testClassMembers() { |
class C<S> extends B<S> {} |
class D extends C<int> {} |
class E extends D {} |
- """, |
- useMockCompiler: false) |
- .then((env) { |
+ """, useMockCompiler: false).then((env) { |
ResolutionInterfaceType bool_ = env['bool']; |
ResolutionInterfaceType String_ = env['String']; |
ResolutionInterfaceType int_ = env['int']; |