Files
codebase-memory-mcp/tests
Martin Vogel d393221fc6 fix(tests): write pipeline fixtures in binary mode
write_temp_file used fopen(path, "w"): text mode on Windows rewrites \n as
\r\n on disk, so the fixture bytes stop matching the source string the test
reasons about. Three Windows-only failures follow: the two semantic-manifest
tests compare cbm_sha256_hex(<string>) against the pipeline's hash of the
file, and the quarantine test compares byte sizes (17 != 18). test_helpers.h
and repro_harness.h already write "wb" for exactly this reason; this brings
the one holdout in line (cbm_fopen + "wb").

Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
2026-08-02 18:15:40 +02:00
..
2026-06-28 13:05:05 +02:00