This commit is contained in:
Niels 2015-01-05 22:25:44 +01:00
parent f0582a8b60
commit 4f0afbbe64
2 changed files with 7 additions and 0 deletions

View file

@ -1775,6 +1775,10 @@ TEST_CASE("Parser")
auto j3 = "{\"key\": \"value\"}"_json;
CHECK(j3["key"] == "value");
auto j22 = R"({"pi": 3.141, "happy": true })"_json;
auto j23 = "{ \"pi\": 3.141, \"happy\": true }"_json;
CHECK(j22 == j23);
}
SECTION("Errors")