-
-
Notifications
You must be signed in to change notification settings - Fork 28
Fix path normalisation on windows #118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@pballok awesome, thanks for PR! i will take a look at those tests related to |
|
@pballok please rebase from main branch. i have just pushed change that has refactored tests not to use |
3e3b1c6 to
cf68457
Compare
|
I did the rebase, but the tests still fail on my end. The also fail on the new main, so I'm not sure my changes are the cause. It's possible my local setup is causing it, I need to investigate, but won't have access to my computer for a couple of days. Here is the error log: |
What:
Removed Path Normalization from regexp patterns
Fixes #115
Why:
/separator bygo test, so to match those paths, the path separator in the regexp needs also to be/on all platformsTested on:
Note:
As there were no more calls to the Path Normalization, I removed the file entirely, but some of the tests refer to this file being part of the test profiles. I clean up those profiles too, but I see some test logic still depends on path.go being part of the coverage stats. It is a bit difficult to see clearly what tests fail because of these changes, and what test fail for unrelated reasons, because there are many tests failing for me on the
mainbranch as well.