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

Unified Diff: test/io.dart

Issue 1220913002: Fix a test crash with Dart 1.12. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 years, 6 months 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: test/io.dart
diff --git a/test/io.dart b/test/io.dart
index e4c3f7ac242cb9c48e3b35dff24828752d816d8d..7bb87336f7be32c8280a03b7e97e8a738ad9f195 100644
--- a/test/io.dart
+++ b/test/io.dart
@@ -52,7 +52,7 @@ ProcessResult runDart(List<String> args, {String workingDirectory,
// we're going to run in a different working directory.
if (!arg.startsWith("--package-root=")) return arg;
return "--package-root=" +
- p.absolute(arg.substring("--package-root=".length));
+ p.absolute(p.fromUri(arg.substring("--package-root=".length)));
}).toList()..addAll(args);
// TODO(nweiz): Use ScheduledProcess once it's compatible.
« 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