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

Unified Diff: runtime/observatory/tests/service/complex_reload_test.dart

Issue 2519553002: Fix Windows paths in complex_reload_test (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/tests/service/complex_reload_test.dart
diff --git a/runtime/observatory/tests/service/complex_reload_test.dart b/runtime/observatory/tests/service/complex_reload_test.dart
index 9876d552c795bda2aeb6283d3a01ba78f42eda21..0b94084d88fd52940c50889b82d917de3b9c2213 100644
--- a/runtime/observatory/tests/service/complex_reload_test.dart
+++ b/runtime/observatory/tests/service/complex_reload_test.dart
@@ -24,7 +24,7 @@ testMain() async {
}
// Directory that we are running in.
-String directory = Platform.pathSeparator +
+String directory = (Platform.isWindows ? '' : Platform.pathSeparator) +
Platform.script.pathSegments.sublist(
0,
Platform.script.pathSegments.length - 1).join(Platform.pathSeparator);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698