1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-22 15:21:52 +03:00

Merge branch 'develop' into feature/manual_lexer

This commit is contained in:
Niels Lohmann
2017-03-28 23:47:17 +02:00
2 changed files with 15 additions and 3 deletions

View File

@ -838,6 +838,14 @@ TEST_CASE("regression tests")
CHECK(j["double_value"].is_number_float());
}
SECTION("issue #464 - VS2017 implicit to std::string conversion fix")
{
json v = "test";
std::string test;
test = v;
CHECK(v == "test");
}
SECTION("issue #465 - roundtrip error while parsing 1000000000000000010E5")
{
json j1 = json::parse("1000000000000000010E5");