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

Unified Diff: tests/standalone/io/regress_7191_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/regress_7191_script.dart ('k') | tests/standalone/io/resolve_symbolic_links_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/regress_7191_test.dart
diff --git a/tests/standalone/io/regress_7191_test.dart b/tests/standalone/io/regress_7191_test.dart
index 1595abe984fb37e1d8916166897ae68b84eea7ed..5a8a7ea1f26cd5c0cb4b9c5c19626502c48d4207 100644
--- a/tests/standalone/io/regress_7191_test.dart
+++ b/tests/standalone/io/regress_7191_test.dart
@@ -18,7 +18,7 @@ import 'package:path/path.dart';
main() {
asyncStart();
var executable = Platform.executable;
- var script = join(dirname(Platform.script), 'regress_7191_script.dart');
+ var script = Platform.script.resolve('regress_7191_script.dart').toFilePath();
Process.start(executable, [script]).then((process) {
process.stdin.add([0]);
process.stdout.listen((_) { },
« no previous file with comments | « tests/standalone/io/regress_7191_script.dart ('k') | tests/standalone/io/resolve_symbolic_links_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698