From 9d4df93676f8789c043939d5d3dd7d73a2d848ee Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 22 Aug 2026 21:42:53 -0500 Subject: [PATCH] Assert the launcher string verbatim; Path normalization diverged on Windows --- tests/unit_tests/test_arduino8266_toolchain.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/unit_tests/test_arduino8266_toolchain.py b/tests/unit_tests/test_arduino8266_toolchain.py index aa32ff26f1..dd456b8ec7 100644 --- a/tests/unit_tests/test_arduino8266_toolchain.py +++ b/tests/unit_tests/test_arduino8266_toolchain.py @@ -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: