mirror of
https://github.com/nlohmann/json.git
synced 2026-02-22 19:36:26 +00:00
fix test case in PR#1006
This commit is contained in:
@@ -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}})");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user