Index: tests/compiler/dart2js/mirrors/mirrors_test_helper.dart |
diff --git a/tests/compiler/dart2js/mirrors/mirrors_test_helper.dart b/tests/compiler/dart2js/mirrors/mirrors_test_helper.dart |
index b6a954a59d8b0ee07bc8fe58ba3a0963ba4b74ca..00f1bc2d9c22c117518f3b697af367fc00a15a9b 100644 |
--- a/tests/compiler/dart2js/mirrors/mirrors_test_helper.dart |
+++ b/tests/compiler/dart2js/mirrors/mirrors_test_helper.dart |
@@ -24,7 +24,8 @@ Future<MirrorSystem> analyze(String test) { |
Future<MirrorSystem> analyzeUri(Uri testUri) { |
Uri repository = Platform.script.resolve('../../../../'); |
Uri libraryRoot = repository.resolve('sdk/'); |
- Uri packageRoot = Uri.base.resolve('${Platform.packageRoot}/'); |
+ Uri packageRoot = Uri.base.resolveUri( |
+ new Uri.file('${Platform.packageRoot}/')); |
var provider = new CompilerSourceFileProvider(); |
var handler = new FormattingDiagnosticHandler(provider); |
return source_mirrors.analyze( |