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

Unified Diff: tests/standalone/io/file_read_special_device_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
« no previous file with comments | « tests/standalone/io/code_collection_test.dart ('k') | tests/standalone/io/file_read_stdio_script.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/file_read_special_device_test.dart
diff --git a/tests/standalone/io/file_read_special_device_test.dart b/tests/standalone/io/file_read_special_device_test.dart
index a0455108e5396e7fe09c651d42b15ecd0162e93b..482ac573488e3a2dc6363a0010693e058e42df92 100644
--- a/tests/standalone/io/file_read_special_device_test.dart
+++ b/tests/standalone/io/file_read_special_device_test.dart
@@ -7,7 +7,7 @@ import 'package:path/path.dart';
import 'dart:io';
void openAndWriteScript(String script) {
- script = join(dirname(Platform.script), script);
+ script = Platform.script.resolve(script).toFilePath();
var executable = Platform.executable;
var file = script; // Use script as file.
Process.start("bash", ["-c", "$executable $script < $file"]).then((process) {
« no previous file with comments | « tests/standalone/io/code_collection_test.dart ('k') | tests/standalone/io/file_read_stdio_script.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698