Merge remote-tracking branch 'miloyip/master'

This commit is contained in:
John Stiles 2017-02-06 21:11:55 -08:00
commit 933eb839d9

View File

@ -69,10 +69,10 @@ TEST(JsonChecker, Reader) {
GenericDocument<UTF8<>, CrtAllocator> document; // Use Crt allocator to check exception-safety (no memory leak)
document.Parse(json);
EXPECT_TRUE(document.HasParseError());
EXPECT_TRUE(document.HasParseError()) << filename;
document.Parse<kParseIterativeFlag>(json);
EXPECT_TRUE(document.HasParseError());
EXPECT_TRUE(document.HasParseError()) << filename;
free(json);
}
@ -89,10 +89,10 @@ TEST(JsonChecker, Reader) {
GenericDocument<UTF8<>, CrtAllocator> document; // Use Crt allocator to check exception-safety (no memory leak)
document.Parse(json);
EXPECT_FALSE(document.HasParseError());
EXPECT_FALSE(document.HasParseError()) << filename;
document.Parse<kParseIterativeFlag>(json);
EXPECT_FALSE(document.HasParseError());
EXPECT_FALSE(document.HasParseError()) << filename;
free(json);
}