mirror of
https://github.com/nlohmann/json
synced 2024-11-30 15:40:07 +00:00
fix test case in PR#1006
This commit is contained in:
parent
fff1499963
commit
eca4b8785c
@ -225,9 +225,9 @@ TEST_CASE("alternative string type")
|
||||
|
||||
{
|
||||
alt_json doc;
|
||||
doc["list"] = { 1, 0, 2 };
|
||||
doc["object"] = { {"currency", "USD"}, {"value", 42.99} };
|
||||
alt_string dump = doc.dump();
|
||||
CHECK(dump == R"({"list":[1,0,2]})");
|
||||
CHECK(dump == R"({"object":{"currency":"USD","value":42.99}})");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user