Commit 45ac398
authored
Fix coverage tests on windows (#16245)
[test_windows_full
failed](https://github.com/lampepfl/dotty/actions/runs/3313981586/jobs/5472673283)
Coverage tests replaced all `\` by `/`, but the paths are now escaped,
which turns `C:\folder\file` into `C:\\folder\\file`. Thus we need to
replace `\\` by `/`!
Note: this fix is better than removing `.escaped` from paths, because
paths are allowed to contains problematic characters such as newlines,
which would break the coverage report.1 file changed
+4
-3
lines changedLines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
0 commit comments