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

Unified Diff: tests/standalone/io/regress_7191_test.dart

Issue 53313007: Change dart:io Platform.script to return a URI. Change all uses of Platform.script to work with th… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix dom.py docs 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/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((_) { },

Powered by Google App Engine
This is Rietveld 408576698