| Index: pkg/unittest/lib/vm_config.dart
|
| diff --git a/pkg/unittest/lib/vm_config.dart b/pkg/unittest/lib/vm_config.dart
|
| index 1f4ce0da24e07299f178e9743bae017c985fb712..4707dda0e041bbf17f10768193116bcb7fbb34e1 100644
|
| --- a/pkg/unittest/lib/vm_config.dart
|
| +++ b/pkg/unittest/lib/vm_config.dart
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// Copyright (c) 2013, 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.
|
|
|
| @@ -9,7 +9,6 @@ library unittest_vm_config;
|
|
|
| import 'dart:io';
|
| import 'unittest.dart';
|
| -import 'package:meta/meta.dart';
|
|
|
| class VMConfiguration extends Configuration {
|
| void onDone(bool success) {
|
| @@ -25,9 +24,7 @@ class VMConfiguration extends Configuration {
|
| }
|
|
|
| void useVMConfiguration() {
|
| - if (config != null) return;
|
| - configure(new VMConfiguration());
|
| + config = _singleton;
|
| }
|
|
|
| -@deprecated
|
| -void useVmConfiguration() => useVMConfiguration();
|
| +final _singleton = new VMConfiguration();
|
|
|