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

Unified Diff: tests/standalone/vmservice/test_helper.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/vmservice/test_helper.dart
diff --git a/tests/standalone/vmservice/test_helper.dart b/tests/standalone/vmservice/test_helper.dart
index 8e2b46ce1514036b9a249e2460d0b4222bb2ca2b..94c8ab8215a140425880f091e4e975f9cb31cc2d 100644
--- a/tests/standalone/vmservice/test_helper.dart
+++ b/tests/standalone/vmservice/test_helper.dart
@@ -80,7 +80,7 @@ class TestLauncher {
TestLauncher(this.script);
String get scriptPath {
- var dartScript = Platform.script;
+ var dartScript = Platform.script.toFilePath();
var splitPoint = dartScript.lastIndexOf(Platform.pathSeparator);
var scriptDirectory = dartScript.substring(0, splitPoint);
return scriptDirectory + Platform.pathSeparator + script;

Powered by Google App Engine
This is Rietveld 408576698