diff --git a/test/src/unit-ubjson.cpp b/test/src/unit-ubjson.cpp index d65f5a14d..e4c060918 100644 --- a/test/src/unit-ubjson.cpp +++ b/test/src/unit-ubjson.cpp @@ -99,9 +99,12 @@ TEST_CASE("UBJSON") numbers.push_back(-100000000000l); numbers.push_back(-10000000000l); numbers.push_back(-2147483649l); + size_t index = 0; for (auto i : numbers) { CAPTURE(i); + CAPTURE(index); + ++index; // create JSON value with integer number json j = i;