| Index: packages/initialize/test/initializer_parts_test.dart
|
| diff --git a/packages/initialize/test/initializer_parts_test.dart b/packages/initialize/test/initializer_parts_test.dart
|
| index fc77886d3eea709792f4cf9c89f13cb4a1a70c9f..5839b917bf36525a78fd9c8f6a10e203fe7e1658 100644
|
| --- a/packages/initialize/test/initializer_parts_test.dart
|
| +++ b/packages/initialize/test/initializer_parts_test.dart
|
| @@ -1,22 +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_parts_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';
|
|
|
| part 'parts/foo.dart';
|
| part 'parts/bar.dart';
|
|
|
| main() {
|
| - useCompactVMConfiguration();
|
| -
|
| // Run all initializers.
|
| - run().then((_) {
|
| + return run().then((_) {
|
| test('parts', () {
|
| var expectedNames = [
|
| const LibraryIdentifier(#initialize.initializer_parts_test, null,
|
|
|