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

Unified Diff: tests/language_strong/parameter_default_test.dart

Issue 2768073002: 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
Index: tests/language_strong/parameter_default_test.dart
diff --git a/tests/language_strong/parameter_default_test.dart b/tests/language_strong/parameter_default_test.dart
index 6a00febd817ac04708fbd8ebd69b60aa793963f0..87e9e91d51f54b2ea0e2e7ce247d7305409beac1 100644
--- a/tests/language_strong/parameter_default_test.dart
+++ b/tests/language_strong/parameter_default_test.dart
@@ -6,24 +6,32 @@ class C {
foo(a
: 1 // //# 01: compile-time error
= 1 // //# 02: compile-time error
- ) { print(a); }
+ ) {
+ print(a);
+ }
static bar(a
: 1 // //# 03: compile-time error
= 1 // //# 04: compile-time error
- ) { print(a); }
+ ) {
+ print(a);
+ }
}
baz(a
: 1 // //# 05: compile-time error
= 1 // //# 06: compile-time error
-) { print(a); }
+ ) {
+ print(a);
+}
main() {
foo(a
: 1 // //# 07: compile-time error
= 1 // //# 08: compile-time error
- ) { print(a); }
+ ) {
+ print(a);
+ }
foo(1);

Powered by Google App Engine
This is Rietveld 408576698