Index: packages/initialize/test/initializer_super_test.dart |
diff --git a/packages/initialize/test/initializer_super_test.dart b/packages/initialize/test/initializer_super_test.dart |
index 66e6e76cf3fed20192baf8995636aa09abf0584f..512ef51f0fc3908eee216198fb8070cf0b3ce146 100644 |
--- a/packages/initialize/test/initializer_super_test.dart |
+++ b/packages/initialize/test/initializer_super_test.dart |
@@ -1,18 +1,19 @@ |
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
// 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. |
+ |
+// TODO(jakemac): swap this to @TestOn('pub-serve') once |
+// https://github.com/dart-lang/test/issues/388 is completed. |
+@TestOn('!js') |
library initialize.initializer_super_test; |
import 'package:initialize/src/initialize_tracker.dart'; |
import 'package:initialize/initialize.dart'; |
-import 'package:unittest/unittest.dart'; |
-import 'package:unittest/compact_vm_config.dart'; |
+import 'package:test/test.dart'; |
main() { |
- useCompactVMConfiguration(); |
- |
// Run all initializers. |
- run().then((_) { |
+ return run().then((_) { |
test('annotations are seen in post-order with superclasses first', () { |
var expectedNames = [A, C, B, E, D,]; |
expect(InitializeTracker.seen, expectedNames); |