added missing overflow check for #329
This commit is contained in:
parent
67b9f1936d
commit
d91067220f
4 changed files with 21 additions and 1 deletions
|
|
@ -489,4 +489,10 @@ TEST_CASE("regression tests")
|
|||
j["/this/that"_json_pointer] = 27;
|
||||
CHECK(j == json({{"this", {{"that", 27}}}}));
|
||||
}
|
||||
|
||||
SECTION("issue #329 - serialized value not always can be parsed")
|
||||
{
|
||||
json j = json::parse("22e2222");
|
||||
CHECK(j == json());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue