Chromium Code Reviews| Index: tests/standalone/precompilation_dart2js_test.dart |
| diff --git a/tests/standalone/precompilation_dart2js_test.dart b/tests/standalone/precompilation_dart2js_test.dart |
| index 303c95576f1ddf1f2d103891a1be0f208104641c..5d3900ee34655d03c05696aab9e33780b647d6ee 100644 |
| --- a/tests/standalone/precompilation_dart2js_test.dart |
| +++ b/tests/standalone/precompilation_dart2js_test.dart |
| @@ -43,8 +43,7 @@ main(List args) { |
| return; |
| } |
| - var pkgRoot = Uri.parse(Platform.packageRoot); |
| - var abs_package_root = new File.fromUri(pkgRoot).absolute.path; |
| + var abs_package_root = Uri.parse(Platform.packageRoot).toFilePath(); |
|
Lasse Reichstein Nielsen
2015/12/18 16:17:51
This code will still fail if Platform.packageRoot
|
| var dart_executable = |
| Directory.current.path + Platform.pathSeparator + Platform.executable; |
| Directory tmp; |