Commit 77595d3
committed
fix(tests): compare library roots by canonical display path
Update model_library::library::tests::test_library_creation to compare canonical display-path strings rather than raw PathBuf equality.
This reuses the existing projection canonicalization helper so the assertion stays stable across macOS path aliases, Windows verbatim prefixes, and Windows 8.3 short-name paths exposed by CI temp directories.
Verified with cargo test -p pumas-library --manifest-path rust/Cargo.toml model_library::library::tests::test_library_creation and cargo test -p pumas-library --manifest-path rust/Cargo.toml --lib.1 parent a012ef8 commit 77595d3
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4736 | 4736 | | |
4737 | 4737 | | |
4738 | 4738 | | |
4739 | | - | |
4740 | | - | |
| 4739 | + | |
| 4740 | + | |
| 4741 | + | |
4741 | 4742 | | |
4742 | 4743 | | |
4743 | 4744 | | |
| |||
0 commit comments