| Index: test/utils.dart
|
| diff --git a/test/utils.dart b/test/utils.dart
|
| index 56b7d7ddd8e960670c76437e6c3d01ad0bcb6585..30a273abcde6e5a56589ad8c5ade7c617ed0a0c6 100644
|
| --- a/test/utils.dart
|
| +++ b/test/utils.dart
|
| @@ -2,7 +2,7 @@
|
| // 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.
|
|
|
| -library dart_style.test.command_line;
|
| +library dart_style.test.utils;
|
|
|
| import 'dart:io';
|
|
|
| @@ -22,7 +22,7 @@ ScheduledProcess runFormatter([List<String> args]) {
|
| var formatterPath = p.join(
|
| p.dirname(p.fromUri(Platform.script)), "..", "bin", "format.dart");
|
|
|
| - args.insert(0, formatterPath);
|
| + args.insertAll(0, ["--package-root=${Platform.packageRoot}", formatterPath]);
|
| return new ScheduledProcess.start(Platform.executable, args);
|
| }
|
|
|
|
|