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

Unified Diff: tests/standalone/io/print_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
« no previous file with comments | « tests/standalone/io/platform_test.dart ('k') | tests/standalone/io/process_check_arguments_script.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/print_sync_test.dart
diff --git a/tests/standalone/io/print_sync_test.dart b/tests/standalone/io/print_sync_test.dart
index f709df606fab78cd9e389c85f924a00d5f28a2e1..05f8014d7ba9a013dfe86f79c6ec9841a1cbb882 100644
--- a/tests/standalone/io/print_sync_test.dart
+++ b/tests/standalone/io/print_sync_test.dart
@@ -10,7 +10,8 @@ import "package:async_helper/async_helper.dart";
void main() {
asyncStart();
Process.run(Platform.executable,
- [Platform.script.resolve('print_sync_script.dart').toFilePath()])
+ [new Uri.file(Platform.script)
+ .resolve('print_sync_script.dart').toString()])
.then((out) {
asyncEnd();
Expect.equals(1002, out.stdout.split('\n').length);
« no previous file with comments | « tests/standalone/io/platform_test.dart ('k') | tests/standalone/io/process_check_arguments_script.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698