Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Unified Diff: tests/standalone/precompilation_dart2js_test.dart

Issue 1534833002: - Fix precompilation test. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: X Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/precompilation_dart2js_test.dart
diff --git a/tests/standalone/precompilation_dart2js_test.dart b/tests/standalone/precompilation_dart2js_test.dart
index 52957d758256258667fbf0b74c4e93937391c5ef..303c95576f1ddf1f2d103891a1be0f208104641c 100644
--- a/tests/standalone/precompilation_dart2js_test.dart
+++ b/tests/standalone/precompilation_dart2js_test.dart
@@ -43,7 +43,8 @@ main(List args) {
return;
}
- var abs_package_root = new File(Platform.packageRoot).absolute.path;
+ var pkgRoot = Uri.parse(Platform.packageRoot);
+ var abs_package_root = new File.fromUri(pkgRoot).absolute.path;
var dart_executable =
Directory.current.path + Platform.pathSeparator + Platform.executable;
Directory tmp;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698