Commit e96548e
committed
Expect a platform path in the git diff parsing test
With the fixture read as LF, the second Windows run parsed both files, and the test failed only on how it wrote the expected path: SingleFileDiff keeps a Path, which prints with backslashes on Windows. The expected string now builds that path with Path.of, so it prints the platform's way on every system.1 parent a60e060 commit e96548e
1 file changed
Lines changed: 3 additions & 2 deletions
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
0 commit comments