From e5bc8c2d3924dc6e27e621df751f9d8c1215f93c Mon Sep 17 00:00:00 2001 From: Ben Konyi Date: Wed, 27 Mar 2019 23:10:20 +0000 Subject: [PATCH] [ VM / Service ] Remove Platform.pathSeparator from test and replace with / to fix Windows failure Change-Id: Icddbcf46ba17d36e2832f9b86022461b6b71e074 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98047 Reviewed-by: Ben Konyi Commit-Queue: Ben Konyi --- .../breakpoint_in_package_parts_class_file_uri_test.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/runtime/observatory/tests/service/breakpoint_in_package_parts_class_file_uri_test.dart b/runtime/observatory/tests/service/breakpoint_in_package_parts_class_file_uri_test.dart index aa05dd0ab39cf..52dee71f7d019 100644 --- a/runtime/observatory/tests/service/breakpoint_in_package_parts_class_file_uri_test.dart +++ b/runtime/observatory/tests/service/breakpoint_in_package_parts_class_file_uri_test.dart @@ -12,8 +12,7 @@ import 'test_helper.dart'; import 'service_test_common.dart'; // Chop off the file name. -String baseDirectory = - path.dirname(Platform.script.path) + Platform.pathSeparator; +String baseDirectory = path.dirname(Platform.script.path) + '/'; Uri baseUri = Platform.script.replace(path: baseDirectory); Uri breakpointFile = baseUri.resolve('observatory_test_package/the_part.dart'); const String shortFile = "the_part.dart";