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

Unified Diff: tests/standalone/io/stdin_sync_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/stdin_sync_test.dart
diff --git a/tests/standalone/io/stdin_sync_test.dart b/tests/standalone/io/stdin_sync_test.dart
index 5d14509dd7e41d03fc6fe759144b09844c7946aa..63e4f1dde1c8410b249e6505be0d937b7fad7f59 100644
--- a/tests/standalone/io/stdin_sync_test.dart
+++ b/tests/standalone/io/stdin_sync_test.dart
@@ -9,7 +9,7 @@ import "package:path/path.dart";
void testReadByte() {
void test(String line, List<String> expected) {
- var script = join(dirname(Platform.script), "stdin_sync_script.dart");
+ var script = Platform.script.resolve("stdin_sync_script.dart").toFilePath();
Process.start(Platform.executable,
["--checked", script]..addAll(
expected.map(JSON.encode))).then((process) {
« no previous file with comments | « tests/standalone/io/socket_upgrade_to_secure_test.dart ('k') | tests/standalone/io/test_extension_fail_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698