Index: tests/compiler/dart2js/list_tracer3_test.dart |
diff --git a/tests/compiler/dart2js/list_tracer3_test.dart b/tests/compiler/dart2js/list_tracer3_test.dart |
index ee0bc069ae554c816294e49366c170ea0f493ccb..cb1b936eae4ced11a643e2a94ceb838711d5ebee 100644 |
--- a/tests/compiler/dart2js/list_tracer3_test.dart |
+++ b/tests/compiler/dart2js/list_tracer3_test.dart |
@@ -7,13 +7,11 @@ |
import 'package:expect/expect.dart'; |
import "package:async_helper/async_helper.dart"; |
-import 'package:compiler/src/types/types.dart' |
- show ContainerTypeMask, TypeMask; |
+import 'package:compiler/src/types/types.dart' show ContainerTypeMask, TypeMask; |
import 'compiler_helper.dart'; |
import 'type_mask_test_helper.dart'; |
- |
const String TEST = r''' |
var myList = []; |
var otherList = ['foo', 42]; |
@@ -28,17 +26,17 @@ void main() { |
Uri uri = new Uri(scheme: 'source'); |
var compiler = compilerFor(TEST, uri); |
asyncTest(() => compiler.run(uri).then((_) { |
- var typesInferrer = compiler.globalInference.typesInferrer; |
+ var typesInferrer = compiler.globalInference.typesInferrer; |
- checkType(String name, type) { |
- var element = findElement(compiler, name); |
- ContainerTypeMask mask = typesInferrer.getTypeOfElement(element); |
- Expect.equals(type, simplify(mask.elementType, compiler), name); |
- } |
+ checkType(String name, type) { |
+ var element = findElement(compiler, name); |
+ ContainerTypeMask mask = typesInferrer.getTypeOfElement(element); |
+ Expect.equals(type, simplify(mask.elementType, compiler), name); |
+ } |
- var interceptorType = |
- findTypeMask(compiler, 'Interceptor', 'nonNullSubclass'); |
+ var interceptorType = |
+ findTypeMask(compiler, 'Interceptor', 'nonNullSubclass'); |
- checkType('myList', interceptorType); |
- })); |
+ checkType('myList', interceptorType); |
+ })); |
} |