Unverified Commit 5fe6b83c authored by Niels Lohmann's avatar Niels Lohmann Committed by GitHub

Merge pull request #2158 from dota17/output_adapter

Fix PR#1006
parents 92125907 ad2b4ff2
......@@ -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}})");
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment