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

Unified Diff: tests/language/regress_26133_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/regress_26133_test.dart
diff --git a/tests/language/regress_26133_test.dart b/tests/language/regress_26133_test.dart
index 9c6bbb530d9dd823257daf01a23034a2f531ed42..89d872d592af7924b0502723bc59582c9f026fb5 100644
--- a/tests/language/regress_26133_test.dart
+++ b/tests/language/regress_26133_test.dart
@@ -22,13 +22,9 @@ Future<int> foo() async {
}
main() {
- foo().then(
- (_) {
- Expect.isFalse(isCheckedMode());
- },
- onError: (e) {
- Expect.isTrue(isCheckedMode() && (e is TypeError));
- }
- );
+ foo().then((_) {
+ Expect.isFalse(isCheckedMode());
+ }, onError: (e) {
+ Expect.isTrue(isCheckedMode() && (e is TypeError));
+ });
}
-

Powered by Google App Engine
This is Rietveld 408576698