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

Unified Diff: tests/language_strong/deferred_inheritance_constraints_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
Index: tests/language_strong/deferred_inheritance_constraints_test.dart
diff --git a/tests/language_strong/deferred_inheritance_constraints_test.dart b/tests/language_strong/deferred_inheritance_constraints_test.dart
index 2e2cf51bdd604cb38d0fe4e931e09096ea822e9f..c94528e80ded4f6ffd0a9cfc0aed1cd475377f26 100644
--- a/tests/language_strong/deferred_inheritance_constraints_test.dart
+++ b/tests/language_strong/deferred_inheritance_constraints_test.dart
@@ -6,24 +6,30 @@ import "package:expect/expect.dart";
import "deferred_inheritance_constraints_lib.dart" deferred as lib;
class Foo {}
+
class Foo2 extends D {}
-
-class A extends
+
+class A extends
lib. //# extends: compile-time error
- Foo {}
-class B implements
+ Foo {}
+
+class B
+ implements
lib. //# implements: compile-time error
- Foo {}
+ Foo {}
+
class C1 {}
-class C = C1 with
+
+class C = C1
+ with
lib. //# mixin: compile-time error
- Foo;
+ Foo;
-class D {
- D() ;
- factory D.factory() =
+class D {
+ D();
+ factory D.factory() =
lib. //# redirecting_constructor: static type warning
- Foo2;
+ Foo2;
}
void main() {
@@ -31,6 +37,6 @@ void main() {
new B();
new C();
Expect.throws(() { //# redirecting_constructor: continued
- new D.factory();
+ new D.factory();
}); //# redirecting_constructor: continued
-}
+}

Powered by Google App Engine
This is Rietveld 408576698