提交 583feae8 编写于 作者: I Igor Canadi

fix valgrind test

上级 55805093
......@@ -132,6 +132,7 @@ TEST(JSONDocumentTest, Serialization) {
auto deserialized_json = JSONDocument::Deserialize(Slice(serialized));
ASSERT_TRUE(deserialized_json != nullptr);
AssertSampleJSON(*deserialized_json);
delete deserialized_json;
// deserialization failure
ASSERT_TRUE(JSONDocument::Deserialize(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册