Index: packages/initialize/test/initializer_test.dart |
diff --git a/packages/initialize/test/initializer_test.dart b/packages/initialize/test/initializer_test.dart |
index 1488b1d2d1906f26e4887ae4eb0e8e705c0b29b8..579e9c9c6a2dba9bb0e1abb00982169a1dcaf6a7 100644 |
--- a/packages/initialize/test/initializer_test.dart |
+++ b/packages/initialize/test/initializer_test.dart |
@@ -1,21 +1,23 @@ |
// 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') |
@initializeTracker |
library initialize.initializer_test; |
import 'foo/bar.dart'; |
import 'package:initialize/src/initialize_tracker.dart'; |
import 'package:initialize/initialize.dart'; |
-import 'package:test_package/foo.dart'; |
-import 'package:unittest/unittest.dart'; |
-import 'package:unittest/compact_vm_config.dart'; |
+import 'package:test_package/foo.dart' as test_foo; |
+import 'package:test/test.dart'; |
+/// Uses [test_foo]. |
main() { |
- useCompactVMConfiguration(); |
- |
// Run all initializers. |
- run().then((_) { |
+ return run().then((_) { |
test('annotations are seen in post-order with superclasses first', () { |
var expectedNames = [ |
const LibraryIdentifier(#initialize.test.foo, null, 'foo.dart'), |