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

Unified Diff: tests/standalone/io/windows_environment_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
« no previous file with comments | « tests/standalone/io/web_socket_test.dart ('k') | tests/standalone/typed_data_isolate_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/windows_environment_test.dart
diff --git a/tests/standalone/io/windows_environment_test.dart b/tests/standalone/io/windows_environment_test.dart
index f3a5c058732bcdc50a0a3efe9de017fc7f438c77..7df329464623f23ed0ab16bcc0bd75b39d8df266 100644
--- a/tests/standalone/io/windows_environment_test.dart
+++ b/tests/standalone/io/windows_environment_test.dart
@@ -18,9 +18,8 @@ set SCRIPTDIR=%~dp0
%1 %2
""");
var dart = Platform.executable;
- var script = Platform.script
- .resolve('windows_environment_script.dart')
- .toFilePath();
+ var script = join(dirname(Platform.script),
+ 'windows_environment_script.dart');
Process.run('cmd',
['/c', funkyFile.path, dart, script]).then((p) {
if (0 != p.exitCode) throw "Exit code not 0";
« no previous file with comments | « tests/standalone/io/web_socket_test.dart ('k') | tests/standalone/typed_data_isolate_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698