Index: tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart |
diff --git a/tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart b/tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart |
index 96cce73387487b1c0c3901c9b02d461afb93287d..1253b834ad7d2a2e563c17a875f7f20a17a83cfb 100644 |
--- a/tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart |
+++ b/tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart |
@@ -28,19 +28,18 @@ main() { |
} |
"""; |
- |
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; |
- checkReturnInClass(String className, String methodName, type) { |
- var cls = findElement(compiler, className); |
- var element = cls.lookupLocalMember(methodName); |
- Expect.equals(type, typesInferrer.getReturnTypeOfElement(element)); |
- } |
+ checkReturnInClass(String className, String methodName, type) { |
+ var cls = findElement(compiler, className); |
+ var element = cls.lookupLocalMember(methodName); |
+ Expect.equals(type, typesInferrer.getReturnTypeOfElement(element)); |
+ } |
- checkReturnInClass('A', '+', compiler.commonMasks.uint31Type); |
- })); |
+ checkReturnInClass('A', '+', compiler.commonMasks.uint31Type); |
+ })); |
} |