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

Unified Diff: tests/language_strong/illegal_initializer_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_strong/if_null_behavior_test.dart ('k') | tests/language_strong/implicit_this_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language_strong/illegal_initializer_test.dart
diff --git a/tests/language_strong/illegal_initializer_test.dart b/tests/language_strong/illegal_initializer_test.dart
index de993c4aaf467735c7e3e2adc27ce6a543464542..95a00bac65952fdb40edf27ff3daacefcb90c974 100644
--- a/tests/language_strong/illegal_initializer_test.dart
+++ b/tests/language_strong/illegal_initializer_test.dart
@@ -8,29 +8,33 @@ class A {
}
class B extends A {
- B.c1() : super.foo
+ B.c1()
+ : super.foo
/* // //# 01: compile-time error
- ()
+ ()
*/ // //# 01: continued
;
B.foo();
- B.c2() : this.foo
+ B.c2()
+ : this.foo
/* // //# 02: compile-time error
- ()
+ ()
*/ // //# 02: continued
;
- B.c3() : super
+ B.c3()
+ : super
/* // //# 03: compile-time error
- ()
+ ()
*/ // //# 03: continued
;
B();
- B.c4() : this
+ B.c4()
+ : this
/* // //# 04: compile-time error
- ()
+ ()
*/ // //# 04: continued
;
}
« no previous file with comments | « tests/language_strong/if_null_behavior_test.dart ('k') | tests/language_strong/implicit_this_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698