| Index: tests/compiler/dart2js/memory_compiler.dart
|
| diff --git a/tests/compiler/dart2js/memory_compiler.dart b/tests/compiler/dart2js/memory_compiler.dart
|
| index 5d3373b41bcc04e170bc10f0008ebac1a113e4da..eb5f58886883d40350453657822622412099d6f4 100644
|
| --- a/tests/compiler/dart2js/memory_compiler.dart
|
| +++ b/tests/compiler/dart2js/memory_compiler.dart
|
| @@ -79,7 +79,7 @@ Compiler compilerFor(Map<String,String> memorySourceFiles,
|
| List<String> options: const [],
|
| Compiler cachedCompiler,
|
| bool showDiagnostics: true}) {
|
| - Uri script = currentDirectory.resolveUri(Platform.script);
|
| + Uri script = currentDirectory.resolve(nativeToUriPath(Platform.script));
|
| Uri libraryRoot = script.resolve('../../../sdk/');
|
| Uri packageRoot = script.resolve('./packages/');
|
|
|
| @@ -136,7 +136,7 @@ Future<MirrorSystem> mirrorSystemFor(Map<String,String> memorySourceFiles,
|
| {DiagnosticHandler diagnosticHandler,
|
| List<String> options: const [],
|
| bool showDiagnostics: true}) {
|
| - Uri script = currentDirectory.resolveUri(Platform.script);
|
| + Uri script = currentDirectory.resolve(nativeToUriPath(Platform.script));
|
| Uri libraryRoot = script.resolve('../../../sdk/');
|
| Uri packageRoot = script.resolve('./packages/');
|
|
|
|
|