Files
json/tests
Niels Lohmann ac2ebe8d76 Use a unique temp file in the diagnostic positions ifstream test
Since #6139, the C++11 and C++20 builds of unit-class_parser with
JSON_DIAGNOSTIC_POSITIONS run in parallel in the same directory. Both
wrote and removed the same fixed-name temp file, so one could read an
empty file ("attempting to parse an empty input"). Add a random suffix,
as unit-file_input does.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-22 19:51:05 +01:00
..