mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-10-14 15:05:37 +02:00
Removed recursion from msgpack::object packing and stringize.
Changed json expected strings. Before this commit, json output has redundant white space. The commit remove it. Semantically no difference.
This commit is contained in:
@@ -17,7 +17,7 @@ TEST(json, basic_elements)
|
||||
msgpack::object o(t1, z);
|
||||
std::stringstream ss;
|
||||
ss << o;
|
||||
EXPECT_EQ(ss.str(), "[12, -34, 1.23, -4.56, true, false, \"ABC\", {\"Hello\":789, \"World\":-789}]");
|
||||
EXPECT_EQ(ss.str(), "[12,-34,1.23,-4.56,true,false,\"ABC\",{\"Hello\":789,\"World\":-789}]");
|
||||
}
|
||||
|
||||
TEST(json, escape)
|
||||
|
Reference in New Issue
Block a user