Repository navigation
Compare two test paths with the separator they are built with - #2094
Merged
Mikola Lysenko (mikolalysenko) merged 1 commit intoNov 16, 2026
Merged
Conversation
A unit test compared paths built by `Path::join` with `/`-joined literals. On Windows the joined path uses a backslash, so the test failed there and has kept the scheduled run on main red. The expected values are now built the same way as the ones under test. Fixes #2080 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
PR SummaryLow Risk Overview Expected manifest paths were hardcoded as Test-only; addresses the red Reviewed by Cursor Bugbot for commit 8954c24. Configure here. |
Tanmay Singla (Tanmay182003)
approved these changes
Nov 16, 2026
Mikola Lysenko (mikolalysenko)
deleted the
fix/unit-test-path-on-windows
branch
November 16, 2026 18:14
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2080
A unit test compared paths built by
Path::joinwith/-joined string literals. On Windows the joined path uses a backslash, so the test failed there and has kept the scheduledmainrun'stest (windows-latest, 1)leg red.The expected values are now built the same way as the ones under test, so the comparison stays an exact string comparison on every platform.
Test-only change. The test passes locally on macOS; the Windows leg is what confirms it.
Supersedes #2082, which makes the same fix by comparing with
Pathequality. That comparison also accepts paths that differ in repeated separators or.components.🤖 Generated with Claude Code