Merge branch 'develop' into feature/jsontestsuite

This commit is contained in:
Niels 2016-11-02 17:03:12 +01:00
commit 3716a2fbe8
3 changed files with 20 additions and 0 deletions

View file

@ -489,4 +489,10 @@ TEST_CASE("regression tests")
j["/this/that/2"_json_pointer] = 27;
CHECK(j == json({{"this", {{"that", {nullptr, nullptr, 27}}}}}));
}
SECTION("issue #329 - serialized value not always can be parsed")
{
json j = json::parse("22e2222");
CHECK(j == json());
}
}