mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-19 15:08:40 +00:00
The tests that count the layouts the Type tool keeps read vectorcraft_text::layout_inputs() through its cache key. Tests in the same binary that add a font or change the hyphenation exceptions bump it, so a count running beside one saw every frame laid out again (type_overlays_keep_at_most_frame_layouts_max: 2051 instead of 2). Counting tests now hold a shared test-only lock for reading and tests that change those inputs hold it for writing.