Index: tests/compiler/dart2js/unneeded_part_js_test.dart |
diff --git a/tests/compiler/dart2js/unneeded_part_js_test.dart b/tests/compiler/dart2js/unneeded_part_js_test.dart |
index aa1e641dbdbeb9dc454641db8bc933bd41a9086a..cebcd91051675dea564858d945111454dbb744e8 100644 |
--- a/tests/compiler/dart2js/unneeded_part_js_test.dart |
+++ b/tests/compiler/dart2js/unneeded_part_js_test.dart |
@@ -16,7 +16,7 @@ import '../../../sdk/lib/_internal/compiler/compiler.dart' |
import 'dart:async'; |
main() { |
- Uri script = currentDirectory.resolve(nativeToUriPath(new Options().script)); |
+ Uri script = currentDirectory.resolve(nativeToUriPath(Platform.script)); |
Uri libraryRoot = script.resolve('../../../sdk/'); |
Uri packageRoot = script.resolve('./packages/'); |