Skip to content

Conversation

@TheElectronWill
Copy link
Contributor

@TheElectronWill TheElectronWill commented Oct 24, 2022

test_windows_full failed

Coverage tests replaced all \ by /, but the paths are now escaped, which turns C:\folder\file into C:\\folder\\file. Thus we need to replace \\ by /!

Note: this fix is better than removing .escaped from paths, because paths are allowed to contains problematic characters such as newlines, which would break the coverage report.

@smarter
Copy link
Member

smarter commented Oct 24, 2022

What about filenames that contain escaped \, is that possible on Windows? 🤔

@TheElectronWill
Copy link
Contributor Author

TheElectronWill commented Oct 24, 2022

What about filenames that contain escaped , is that possible on Windows? thinking

No, because Windows filenames cannot contains backslashes \, and AFAIK there's no (way to do) escaping (on Windows filenames), so no \\ allowed 🙅 .

@TheElectronWill TheElectronWill merged commit 45ac398 into scala:main Oct 24, 2022
@TheElectronWill TheElectronWill deleted the coverage-fix-windows-ci branch October 24, 2022 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants