OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 library initialize.initializer_cycle_error_test; |
| 5 |
| 6 import 'cycle_a.dart'; // Causes a cycle. |
| 7 import 'package:initialize/initialize.dart'; |
| 8 import 'package:unittest/unittest.dart'; |
| 9 import 'package:unittest/compact_vm_config.dart'; |
| 10 |
| 11 main() { |
| 12 useCompactVMConfiguration(); |
| 13 |
| 14 test('super class cycles are not supported', () { |
| 15 expect(run, throwsUnsupportedError); |
| 16 }); |
| 17 } |
OLD | NEW |