| Index: tests/lib/async/future_constructor2_test.dart
|
| diff --git a/tests/lib/async/future_constructor2_test.dart b/tests/lib/async/future_constructor2_test.dart
|
| index 2d64ff4e9656fe694f7955a2439d6605c795e114..c80090f56e85e50caee64030a42a1c90948dbad8 100644
|
| --- a/tests/lib/async/future_constructor2_test.dart
|
| +++ b/tests/lib/async/future_constructor2_test.dart
|
| @@ -14,8 +14,7 @@ Future<int> createIntFuture() {
|
|
|
| unnamed() {
|
| asyncStart();
|
| - new Future<int>(createIntFuture)
|
| - .then((x) {
|
| + new Future<int>(createIntFuture).then((x) {
|
| Expect.equals(499, x);
|
| asyncEnd();
|
| });
|
| @@ -32,8 +31,7 @@ delayed() {
|
|
|
| microtask() {
|
| asyncStart();
|
| - new Future<int>.microtask(createIntFuture)
|
| - .then((x) {
|
| + new Future<int>.microtask(createIntFuture).then((x) {
|
| Expect.equals(499, x);
|
| asyncEnd();
|
| });
|
| @@ -41,8 +39,7 @@ microtask() {
|
|
|
| sync() {
|
| asyncStart();
|
| - new Future<int>.sync(createIntFuture)
|
| - .then((x) {
|
| + new Future<int>.sync(createIntFuture).then((x) {
|
| Expect.equals(499, x);
|
| asyncEnd();
|
| });
|
|
|