mirror of
https://github.com/nlohmann/json.git
synced 2026-09-23 18:54:21 +00:00
TEST_CASE("diagnostic positions: value lifetime") (added by #5493) and
the "value lifetime" section of TEST_CASE("diagnostic positions: value
lifetime, input adapters, and SAX") (added by #5482, later corrected by
#5539) ended up covering the same ground: copy ctor, move ctor, and
swap(). The former was a strict subset of the latter, except for one
extra assertion that member swap() behaves the same as the free
function. Remove the redundant TEST_CASE and fold that one extra check
into the surviving, broader test case.
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>