Skip to content

Commit

Permalink
[ VM / Service ] Remove Platform.pathSeparator from test and replace …
Browse files Browse the repository at this point in the history
…with / to fix Windows failure

Change-Id: Icddbcf46ba17d36e2832f9b86022461b6b71e074
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98047
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
  • Loading branch information
bkonyi authored and commit-bot@chromium.org committed Mar 27, 2019
1 parent 0d93a85 commit e5bc8c2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit e5bc8c2

Please sign in to comment.