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

Unified Diff: tests/language/positional_parameters_type_test.dart

Issue 2774783002: Re-land "Format all multitests" (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « tests/language/parameter_metadata_test.dart ('k') | tests/language/prefix23_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/positional_parameters_type_test.dart
diff --git a/tests/language/positional_parameters_type_test.dart b/tests/language/positional_parameters_type_test.dart
index e80996fa0d30a462d7905f8684ad4514f477754e..caa69cf66a42c8676efaa8f7b68705f8f4035da2 100644
--- a/tests/language/positional_parameters_type_test.dart
+++ b/tests/language/positional_parameters_type_test.dart
@@ -7,11 +7,16 @@
main() {
Function anyFunction;
- void acceptFunNumOptBool(void funNumOptBool(num n, [bool b])) { };
- void funNum(num n) { };
- void funNumBool(num n, bool b) { };
- void funNumOptBool(num n, [bool b = true]) { };
- void funNumOptBoolX(num n, [bool x = true]) { };
+ void acceptFunNumOptBool(void funNumOptBool(num n, [bool b])) {}
+ ;
+ void funNum(num n) {}
+ ;
+ void funNumBool(num n, bool b) {}
+ ;
+ void funNumOptBool(num n, [bool b = true]) {}
+ ;
+ void funNumOptBoolX(num n, [bool x = true]) {}
+ ;
anyFunction = funNum;
anyFunction = funNumBool;
anyFunction = funNumOptBool;
« no previous file with comments | « tests/language/parameter_metadata_test.dart ('k') | tests/language/prefix23_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698