Index: tests/compiler/dart2js/bad_loop_test.dart |
diff --git a/tests/compiler/dart2js/bad_loop_test.dart b/tests/compiler/dart2js/bad_loop_test.dart |
index dbf8795365c83a6b14e41cf5d632c4a0376040e9..5cecb22cf81b054c83068a86a3e762b083029ea0 100644 |
--- a/tests/compiler/dart2js/bad_loop_test.dart |
+++ b/tests/compiler/dart2js/bad_loop_test.dart |
@@ -9,7 +9,7 @@ import '../../../sdk/lib/_internal/compiler/compiler.dart' |
show Diagnostic; |
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/'); |