Commit 28c49b6
committed
test(cli): normalize path comparison in set-local test for Windows
set-local stores `path` via Path(...).as_posix() (matching bm project add
and the rest of the codebase, which keep paths as POSIX strings). The
test compared against str(Path), which on Windows produces backslashes
and fails the equality check on the Windows CI runner.
Use .as_posix() in the assertion so the test matches what the production
code actually writes to config.
Signed-off-by: phernandez <paul@basicmachines.co>1 parent a42c6a2 commit 28c49b6
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
173 | 176 | | |
174 | 177 | | |
175 | | - | |
| 178 | + | |
176 | 179 | | |
177 | 180 | | |
178 | 181 | | |
| |||
0 commit comments