Index: tests/compiler/dart2js/check_elements_invariants_test.dart |
diff --git a/tests/compiler/dart2js/check_elements_invariants_test.dart b/tests/compiler/dart2js/check_elements_invariants_test.dart |
index 7216a059b7d7da373cea193d004da59404abdead..e0c5ee53555249e14eb6f16a3011a4a86d2fdc12 100644 |
--- a/tests/compiler/dart2js/check_elements_invariants_test.dart |
+++ b/tests/compiler/dart2js/check_elements_invariants_test.dart |
@@ -6,24 +6,21 @@ import 'dart:async'; |
import 'package:async_helper/async_helper.dart'; |
import 'package:compiler/src/apiimpl.dart'; |
import 'package:expect/expect.dart'; |
-import 'package:compiler/src/elements/elements.dart' |
- show ClassElement; |
+import 'package:compiler/src/elements/elements.dart' show ClassElement; |
import 'package:compiler/src/resolution/class_members.dart' |
show ClassMemberMixin; |
import 'memory_compiler.dart'; |
- |
-const String DART2JS_SOURCE = |
- 'pkg/compiler/lib/src/dart2js.dart'; |
+const String DART2JS_SOURCE = 'pkg/compiler/lib/src/dart2js.dart'; |
const List<String> DART2JS_OPTIONS = const <String>[ |
- '--categories=Client,Server', |
- '--disable-type-inference' |
- ]; |
+ '--categories=Client,Server', |
+ '--disable-type-inference' |
+]; |
Iterable<ClassElement> computeLiveClasses(CompilerImpl compiler) { |
return new Set<ClassElement>() |
- ..addAll(compiler.resolverWorld.directlyInstantiatedClasses) |
- ..addAll(compiler.codegenWorld.directlyInstantiatedClasses); |
+ ..addAll(compiler.resolverWorld.directlyInstantiatedClasses) |
+ ..addAll(compiler.codegenWorld.directlyInstantiatedClasses); |
} |
void checkClassInvariants(ClassElement cls) { |
@@ -40,7 +37,7 @@ Future checkElementInvariantsAfterCompiling(Uri uri) async { |
computeLiveClasses(result.compiler).forEach(checkClassInvariants); |
} |
-void main () { |
+void main() { |
var uri = Uri.base.resolve(DART2JS_SOURCE); |
asyncTest(() => checkElementInvariantsAfterCompiling(uri)); |
} |