Repository navigation
Commit 963ca1c
committed
test(stats): avoid normalizing fixture paths on Windows
The stats regression's root and modification assertions pass on Windows,
but IndexFile.remove normalizes the all-space test path to `.` and makes
`git rm` fail before testing deletion statistics.
Clear and write the fixture's in-memory index instead, just as the test
already stores its initial blobs directly. The resulting empty-tree
commit still exercises deletion statistics for every original filename.
The full Linux suite again passes: 1690 passed, 89 skipped, 1 xfailed,
and 64 subtests. Focused commit/util/diff tests, pre-commit, mypy, and
basedpyright pass. Windows CI will verify the portability correction.
Prepared by OpenAI Codex (dot); human review is pending.1 parent 3e9611b commit 963ca1c
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
193 | 196 | | |
194 | 197 | | |
195 | 198 | | |
| |||
0 commit comments