Index: tests/compiler/dart2js/mirrors_test.dart |
diff --git a/tests/compiler/dart2js/mirrors_test.dart b/tests/compiler/dart2js/mirrors_test.dart |
index 6fc2094ae5230f9ae2ea5f8567a5d01965173fcf..409088210209c50b6552a7533b79010a40ec3e4e 100644 |
--- a/tests/compiler/dart2js/mirrors_test.dart |
+++ b/tests/compiler/dart2js/mirrors_test.dart |
@@ -42,7 +42,7 @@ DeclarationMirror findMirror(Iterable<DeclarationMirror> list, String name) { |
main() { |
Uri scriptUri = |
- currentDirectory.resolve(nativeToUriPath(new Options().script)); |
+ currentDirectory.resolve(nativeToUriPath(Platform.script)); |
Uri libUri = scriptUri.resolve('../../../sdk/'); |
Uri inputUri = scriptUri.resolve('mirrors_helper.dart'); |
var provider = new SourceFileProvider(); |