Fix constraints on from_json(CompatibleArrayType)

Fixes #924
This commit is contained in:
Théo DELRIEU 2018-02-12 10:47:17 +01:00
parent b02e3bb0b6
commit 01d6118828
No known key found for this signature in database
GPG key ID: 7D6E00D1DF01DEAF
4 changed files with 46 additions and 12 deletions

View file

@ -316,8 +316,8 @@ TEST_CASE("object inspection")
SECTION("round trips")
{
for (const auto& s :
{"3.141592653589793", "1000000000000000010E5"
})
{"3.141592653589793", "1000000000000000010E5"
})
{
json j1 = json::parse(s);
std::string s1 = j1.dump();