Commit a263498
committed
Let the install snapshots fail on an unrepaired path
The snapshot transforms normalized backslashes out of the diagnostics.
That was added to make the tests pass on Windows before the paths
install_executable() builds were repaired, and it outlived its reason:
with those paths repaired, a backslash reaching one of these messages is
the WSL regression itself, and normalizing it away meant no snapshot
could ever catch it.
Only the fixture directory is still normalized, and only in the value
being matched rather than in the message, because withr::local_tempdir()
and repair_path() disagree about a duplicated separator.1 parent 03592e9 commit a263498
2 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
581 | 581 | | |
582 | 582 | | |
583 | 583 | | |
584 | | - | |
585 | 584 | | |
586 | 585 | | |
587 | 586 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
243 | 246 | | |
244 | | - | |
245 | 247 | | |
246 | 248 | | |
247 | 249 | | |
| |||
0 commit comments