Index: tests/language_strong/async_test.dart |
diff --git a/tests/language_strong/async_test.dart b/tests/language_strong/async_test.dart |
index 444f0a7752e1c7ab791bd57b4bc86076145d8274..48b4fda283986ef9e27d88e0377b6bd0e9fd27ef 100644 |
--- a/tests/language_strong/async_test.dart |
+++ b/tests/language_strong/async_test.dart |
@@ -2,12 +2,11 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
- |
import 'package:expect/expect.dart'; |
import 'dart:async'; |
-topLevelFunction() async { } |
+topLevelFunction() async {} |
Future<int> topLevelWithParameter(int a) async { |
return 7 + a; |
@@ -31,7 +30,7 @@ class A { |
int _x; |
A(this._x); |
- operator+(A other) async { |
+ operator +(A other) async { |
return new A(_x + other._x); |
} |
@@ -45,7 +44,6 @@ class B { |
B() : _y = null; |
} |
- |
main() { |
var asyncReturn; |
@@ -81,7 +79,8 @@ main() { |
var z = 8; |
return p2 + z + foo; |
} |
- asyncReturn = bar(1,2); |
+ |
+ asyncReturn = bar(1, 2); |
Expect.isTrue(asyncReturn is Future); |
asyncReturn.then((int result) => Expect.equals(result, 27)); |
@@ -90,6 +89,7 @@ main() { |
aa(int shadowP1) async { |
return foo + z + p3 + shadowP1; |
} |
+ |
return aa(6); |
}; |
asyncReturn = moreNesting(1, "ignore", 2); |