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

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

Issue 46063010: Change dart:io Platform.script to return a Uri. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased 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_set_exit_code_test.dart
diff --git a/tests/standalone/io/process_set_exit_code_test.dart b/tests/standalone/io/process_set_exit_code_test.dart
index 722b8756c2a3d6bf79b290c5303d0fd0aa7ac371..4dded0cfe95181ba1f1a82205ff24bb063b08c25 100644
--- a/tests/standalone/io/process_set_exit_code_test.dart
+++ b/tests/standalone/io/process_set_exit_code_test.dart
@@ -12,8 +12,9 @@ import "dart:io";
main() {
var executable = Platform.executable;
- var exitCodeScript = join(dirname(Platform.script),
- 'process_set_exit_code_script.dart');
+ var exitCodeScript = Platform.script
+ .resolve('process_set_exit_code_script.dart')
+ .toFilePath();
Process.run(executable, [exitCodeScript]).then((result) {
Expect.equals("standard out", result.stdout);
Expect.equals("standard error", result.stderr);
« no previous file with comments | « tests/standalone/io/process_check_arguments_script.dart ('k') | tests/standalone/io/process_shell_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698