| Index: tests/language/interface_cycle_test.dart
|
| diff --git a/tests/language/interface_cycle_negative_test.dart b/tests/language/interface_cycle_test.dart
|
| similarity index 58%
|
| rename from tests/language/interface_cycle_negative_test.dart
|
| rename to tests/language/interface_cycle_test.dart
|
| index f8e268b772d3a67080486c5662f84d7f1d4e4612..db57fd1ef3c66cdf1934ca2d50c5a41989473fdc 100644
|
| --- a/tests/language/interface_cycle_negative_test.dart
|
| +++ b/tests/language/interface_cycle_test.dart
|
| @@ -3,23 +3,16 @@
|
| // BSD-style license that can be found in the LICENSE file.
|
| // Check fail because of cycles in super interface relationship.
|
|
|
| -abstract class C implements B {
|
| +class C implements B {}
|
|
|
| -}
|
| -
|
| -abstract class A implements B {
|
| -
|
| -}
|
| +class A implements B {}
|
|
|
| -abstract class B implements A {
|
| -
|
| -}
|
| -
|
| -class InterfaceCycleNegativeTest {
|
| - static testMain() {
|
| - }
|
| -}
|
| +class B
|
| + implements A /// 01: compile-time error
|
| + implements A /// 02: compile-time error
|
| +{}
|
|
|
| main() {
|
| - InterfaceCycleNegativeTest.testMain();
|
| + new C(); /// 01: continued
|
| + new List<C>(); /// 02: continued
|
| }
|
|
|