Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Unified Diff: tests/language_strong/await_regression_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/language_strong/await_regression_test.dart
diff --git a/tests/language_strong/await_regression_test.dart b/tests/language_strong/await_regression_test.dart
index 9c3e663471b03a8c9b8429650c47741ed91bbe41..87bb8f4f8787770141c185da2c838d9c3d4e9514 100644
--- a/tests/language_strong/await_regression_test.dart
+++ b/tests/language_strong/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);
}

Powered by Google App Engine
This is Rietveld 408576698