Index: tests/language/await_regression_test.dart |
diff --git a/tests/language/await_regression_test.dart b/tests/language/await_regression_test.dart |
index 90a562dd0a7d57a9b25ee8db91ea9c864b3aecb3..44031d8bb9fc1fa2b67fd500fd06c6db92dc0de5 100644 |
--- a/tests/language/await_regression_test.dart |
+++ b/tests/language/await_regression_test.dart |
@@ -3,7 +3,6 @@ |
// BSD-style license that can be found in the LICENSE file. |
// |
- |
import 'dart:async'; |
import 'package:expect/expect.dart'; |
@@ -24,9 +23,9 @@ addLater({a, b}) => new Future.value(a + b); |
// Regression test for issue 21480. |
testNamedArguments() async { |
- var sum = await addLater(a:5, b:10); |
+ var sum = await addLater(a: 5, b: 10); |
Expect.equals(sum, 15); |
- sum = await addLater(b:11, a:-11); |
+ sum = await addLater(b: 11, a: -11); |
Expect.equals(sum, 0); |
} |
@@ -36,6 +35,7 @@ testSideEffects() async { |
Expect.equals(11, a2); |
return new Future.value(); |
} |
+ |
int a = 10; |
await foo(a++, a++); |
Expect.equals(12, a); |