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

Unified Diff: tests/standalone/io/process_sync_test.dart

Issue 52723007: Revert "Change dart:io Platform.script to return a Uri." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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
Index: tests/standalone/io/process_sync_test.dart
diff --git a/tests/standalone/io/process_sync_test.dart b/tests/standalone/io/process_sync_test.dart
index 7601ddf742fff6c2bf9cb43f59f914e04987c66e..55af8314591b836833f30446f7e149044c2b44c4 100644
--- a/tests/standalone/io/process_sync_test.dart
+++ b/tests/standalone/io/process_sync_test.dart
@@ -12,9 +12,8 @@ test(int blockCount,
int exitCode,
[int nonWindowsExitCode]) {
// Get the Dart script file that generates output.
- var scriptFile = new File(Platform.script
- .resolve("process_sync_script.dart")
- .toFilePath());
+ var scriptFile = new File(join(dirname(Platform.script),
+ "process_sync_script.dart"));
var args = [scriptFile.path,
blockCount.toString(),
stdoutBlockSize.toString(),
« no previous file with comments | « tests/standalone/io/process_shell_test.dart ('k') | tests/standalone/io/raw_secure_server_closing_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698