Skip to content

Fix Windows dirty-checkout path assertions - #142

Merged
LunaStev merged 1 commit into
wavefnd:masterfrom
LunaStev:patch/windows-path-assertion
Sep 23, 2026
Merged

LunaStev merged 1 commit into
wavefnd:masterfrom
LunaStev:patch/windows-path-assertion

Conversation

@LunaStev

Copy link
Copy Markdown
Member

Summary

  • compare the checkout path reported by Vex as a filesystem path
  • canonicalize both reported and fixture paths before asserting equality
  • retain dirty-checkout refusal and data-preservation coverage

Why

Windows canonicalization can add a verbatim path prefix. The existing test compared the diagnostic against an ordinary path spelling, causing the Windows x64 job to fail even though Vex correctly rejected the dirty checkout.

Validation

  • cargo fmt --check
  • cargo test --locked
  • cargo clippy --locked --all-targets -- -D warnings
  • cargo build --locked

Closes #114

@LunaStev
LunaStev marked this pull request as ready for review September 23, 2026 04:00
@LunaStev
LunaStev merged commit 8d9d978 into wavefnd:master Sep 23, 2026
8 checks passed
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.

Normalize Windows paths in dirty-checkout regression assertions

1 participant