Index: tests/standalone/io/skipping_dart2js_compilations_test.dart |
diff --git a/tests/standalone/io/skipping_dart2js_compilations_test.dart b/tests/standalone/io/skipping_dart2js_compilations_test.dart |
index 3f22a8461d3fffe0c6be61cf0cd4c1b9b52922e5..d027b7d8653a54004d66ae358c0b5202b0ec8e20 100644 |
--- a/tests/standalone/io/skipping_dart2js_compilations_test.dart |
+++ b/tests/standalone/io/skipping_dart2js_compilations_test.dart |
@@ -20,6 +20,7 @@ import 'package:expect/expect.dart'; |
import 'package:path/path.dart'; |
import 'dart:async'; |
import 'dart:io'; |
+import '../../../tools/testing/dart/command.dart'; |
import '../../../tools/testing/dart/options.dart' as options; |
import '../../../tools/testing/dart/path.dart'; |
import '../../../tools/testing/dart/test_runner.dart' as runner; |
@@ -154,13 +155,8 @@ runner.Command makeCompilationCommand(String testName, FileUtils fileUtils) { |
var executable = Platform.executable; |
var arguments = [createFileScript, fileUtils.scriptOutputPath.toNativePath()]; |
var bootstrapDeps = [Uri.parse("file://${fileUtils.testSnapshotFilePath}")]; |
- return runner.CommandBuilder.instance.getCompilationCommand( |
- 'dart2js', |
- fileUtils.testJsFilePath.toNativePath(), |
- false, |
- bootstrapDeps, |
- executable, |
- arguments, {}); |
+ return Command.compilation('dart2js', fileUtils.testJsFilePath.toNativePath(), |
+ false, bootstrapDeps, executable, arguments, {}); |
} |
void main() { |