Skip to content
Snippets Groups Projects
Commit a7dc86cf authored by Natalie Weizenbaum's avatar Natalie Weizenbaum
Browse files

Fix a failing test on Windows.

Pub wasn't canonicalizing a path in the same way as the tests, which
caused a difference on the Windows bots.

R=rnystrom@google.com

Review URL: https://codereview.chromium.org//1560393002 .
parent 93d55b29
No related branches found
No related tags found
No related merge requests found
......@@ -348,7 +348,7 @@ class Pubspec {
// Make the package dir absolute because for the entrypoint it'll just
// be ".", which may be confusing.
'Could not find a file named "pubspec.yaml" in '
'"${path.normalize(path.absolute(packageDir))}".',
'"${canonicalize(packageDir)}".',
pubspecPath);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment