| Index: tests/language/deferred_inheritance_constraints_test.dart
|
| diff --git a/tests/language/deferred_inheritance_constraints_test.dart b/tests/language/deferred_inheritance_constraints_test.dart
|
| index 8fb023c44cf51b1360266d8d1542c22c250b7508..ff009e69fcfc16fbc859cb4cfe5942b19f4c5d56 100644
|
| --- a/tests/language/deferred_inheritance_constraints_test.dart
|
| +++ b/tests/language/deferred_inheritance_constraints_test.dart
|
| @@ -22,7 +22,7 @@ class C = C1 with
|
| class D {
|
| D() ;
|
| factory D.factory() =
|
| - lib. /// redirecting_constructor: static type warning, runtime error
|
| + lib. /// redirecting_constructor: static type warning
|
| Foo2;
|
| }
|
|
|
| @@ -30,5 +30,7 @@ void main() {
|
| new A();
|
| new B();
|
| new C();
|
| - new D.factory();
|
| + Expect.throws(() { /// redirecting_constructor: continued
|
| + new D.factory();
|
| + }); /// redirecting_constructor: continued
|
| }
|
|
|