Commit eca4b878 authored by chenguoping's avatar chenguoping

fix test case in PR#1006

parent fff14999
...@@ -225,9 +225,9 @@ TEST_CASE("alternative string type") ...@@ -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}})");
} }
} }
......
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