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

Unified Diff: tests/language/mixin_illegal_syntax_test.dart

Issue 2770063002: Revert "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/mixin_illegal_superclass_test.dart ('k') | tests/language/mixin_invalid_bound2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/mixin_illegal_syntax_test.dart
diff --git a/tests/language/mixin_illegal_syntax_test.dart b/tests/language/mixin_illegal_syntax_test.dart
index 1dcbbcc2be4d7ced5c059ffa7f51b009e9190269..8e9d5699d848768922e8f417a9cd59a1e409293c 100644
--- a/tests/language/mixin_illegal_syntax_test.dart
+++ b/tests/language/mixin_illegal_syntax_test.dart
@@ -2,11 +2,9 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-class S {}
-
-class G<T> {}
-
-class M {}
+class S { }
+class G<T> { }
+class M { }
class T = S with M;
typedef T0 = S with M; // //# 00: compile-time error
@@ -17,7 +15,7 @@ class T3 = const S with M; // //# 03: compile-time error
class T4 = static S with M; // //# 04: compile-time error
class T5 = external S with M; // //# 05: compile-time error
class T6 = G<int> with M;
-class T7 = G<Map<String, int>> with M;
+class T7 = G<Map<String,int>> with M;
class C0 extends abstract S with M { } // //# 06: compile-time error
class C1 extends final S with M { } // //# 07: compile-time error
@@ -25,18 +23,14 @@ class C2 extends var S with M { } // //# 08: compile-time error
class C3 extends const S with M { } // //# 09: compile-time error
class C4 extends static S with M { } // //# 10: compile-time error
class C5 extends external S with M { } // //# 11: compile-time error
-class C6 extends G<int> with M {}
-
-class C7 extends G<Map<String, int>> with M {}
+class C6 extends G<int> with M { }
+class C7 extends G<Map<String,int>> with M { }
-class D0 extends S
- with
- M
+class D0 extends S with M
implements M // //# 12: compile-time error
- implements
- M {}
+ implements M { }
-class D1 extends T {}
+class D1 extends T { }
class X = S; // //# 14: compile-time error
« no previous file with comments | « tests/language/mixin_illegal_superclass_test.dart ('k') | tests/language/mixin_invalid_bound2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698