fix valgrind test
This commit is contained in:
parent
558050939f
commit
583feae8dd
@ -132,6 +132,7 @@ TEST(JSONDocumentTest, Serialization) {
|
|||||||
auto deserialized_json = JSONDocument::Deserialize(Slice(serialized));
|
auto deserialized_json = JSONDocument::Deserialize(Slice(serialized));
|
||||||
ASSERT_TRUE(deserialized_json != nullptr);
|
ASSERT_TRUE(deserialized_json != nullptr);
|
||||||
AssertSampleJSON(*deserialized_json);
|
AssertSampleJSON(*deserialized_json);
|
||||||
|
delete deserialized_json;
|
||||||
|
|
||||||
// deserialization failure
|
// deserialization failure
|
||||||
ASSERT_TRUE(JSONDocument::Deserialize(
|
ASSERT_TRUE(JSONDocument::Deserialize(
|
||||||
|
Loading…
Reference in New Issue
Block a user