Assert the launcher string verbatim; Path normalization diverged on Windows

This commit is contained in:
J. Nick Koston
2026-08-22 21:42:53 -05:00
parent 390ca116bc
commit 9d4df93676
@@ -367,8 +367,9 @@ def test_get_idedata_delegates(tmp_path: Path) -> None:
assert compile_commands.name == "compile_commands.json"
assert elf.name == "firmware.elf"
assert cache.name == "test8266.arduino.json"
# The exact configured launcher is passed for compile DB parsing
assert mock_load.call_args.kwargs["launcher"] == str(Path("/cc/ccache"))
# The exact configured launcher string is passed for compile DB parsing
# (resolve_ccache_path returns a str, untouched on every platform)
assert mock_load.call_args.kwargs["launcher"] == "/cc/ccache"
def test_get_idedata_no_ccache(tmp_path: Path) -> None: