removed deque parsing because deque is not a contiguous byte sequence when it has large data

This commit is contained in:
Tanuj Garg 2020-06-03 13:46:28 +05:30 committed by Tanuj Garg
parent 35ac9319c8
commit 2efdbfa315

View File

@ -131,12 +131,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
json j1 = json::parse(data, data + size);
// parse using vector
json j_vec = json::parse(vec);
// parse using deque
json j_deq = json::parse(deq);
// all three must be equal
// both of them must be equal
assert(j1 == j_vec);
assert(j1 == j_deq);
}
catch (const json::parse_error&)
{