Skip to content

Commit

Permalink
✅ added regression test for #464
Browse files Browse the repository at this point in the history
  • Loading branch information
nlohmann committed Mar 28, 2017
1 parent 62dfdf3 commit b4dbebf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/src/unit-regression.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -837,6 +837,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");
Expand Down

0 comments on commit b4dbebf

Please sign in to comment.