Skip to content
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

Verify tests fail on Windows #1799

Open
martincostello opened this issue Apr 9, 2025 · 3 comments
Open

Verify tests fail on Windows #1799

martincostello opened this issue Apr 9, 2025 · 3 comments
Labels
bug Something isn't working needs triage

Comments

@martincostello
Copy link
Contributor

Information

  • OS: Windows
  • Version: b5c8390
  • Terminal: N/A

Describe the bug

Running on the tests on a Windows machine fails 4 Verify tests because the snapshots expect paths to contain / not \.

To Reproduce

On a Windows machine:

dotnet tool restore
dotnet cake

Expected behavior

The tests pass.

Presumably something somewhere in the tests should normalize the data before it's passed to Verify.


Please upvote 👍 this issue if you are interested in it.

@martincostello
Copy link
Contributor Author

Looks like it's not just path separators:

Image

@patriksvensson
Copy link
Contributor

Very weird. Haven't run the tests on a Windows machine for quite some time. Can take a look at it tomorrow when I'm at my office.

@phil-scott-78
Copy link
Contributor

I'm not at a computer, but I suspect this is what led to #1758.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
Status: Todo 🕑
Development

No branches or pull requests

3 participants