use ASSERT_FALSE for boolean comparisons

This commit is contained in:
Konstantin Käfer
2014-10-22 04:20:35 -07:00
parent f701fb340f
commit c6e4cf2f80
2 changed files with 4 additions and 4 deletions

View File

@@ -34,8 +34,8 @@ TEST_P(StyleParserTest, ParseStyle) {
// Parse settings.
rapidjson::Document doc;
doc.Parse<0>((const char *const)info.c_str());
ASSERT_EQ(false, doc.HasParseError());
ASSERT_EQ(true, doc.IsObject());
ASSERT_FALSE(doc.HasParseError());
ASSERT_TRUE(doc.IsObject());
std::ifstream stylefile(style_path);
ASSERT_TRUE(stylefile.good());