Commit cf8512d
committed
fix: make dedup test platform-aware for Windows PATHEXT
On Windows, findOnPath checks 4 candidate names per directory
(patchloom.exe, .cmd, .bat, patchloom) via PATHEXT. The dedup test
asserted exactly 1 fs.access call, which is correct on Unix but
fails on Windows where 4 candidates are checked per unique directory.
Make the expected count platform-aware: 4 on Windows, 1 elsewhere.
Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>1 parent 3519339 commit cf8512d
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
83 | 87 | | |
84 | 88 | | |
85 | 89 | | |
| |||
0 commit comments