commit
5fe6b83c26
1 changed files with 2 additions and 2 deletions
|
@ -225,9 +225,9 @@ TEST_CASE("alternative string type")
|
||||||
|
|
||||||
{
|
{
|
||||||
alt_json doc;
|
alt_json doc;
|
||||||
doc["list"] = { 1, 0, 2 };
|
doc["object"] = { {"currency", "USD"}, {"value", 42.99} };
|
||||||
alt_string dump = doc.dump();
|
alt_string dump = doc.dump();
|
||||||
CHECK(dump == R"({"list":[1,0,2]})");
|
CHECK(dump == R"({"object":{"currency":"USD","value":42.99}})");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue