forked from OSchip/llvm-project
Use EXPECT_FALSE instead of EXPECT_EQ(false, ...
Commit https://reviews.llvm.org/rL324489 added EXPECT_EQ(false, N->isUnsigned()); which older GCC versions dislike for some reason. Anyway, it looks like the proper GTest way is to use EXPECT_FALSE, etc. Differential Revision: https://reviews.llvm.org/D43233 llvm-svn: 325121
This commit is contained in:
parent
01df519f7e
commit
af6312a479
|
@ -981,7 +981,7 @@ TEST_F(DIEnumeratorTest, get) {
|
||||||
auto *N = DIEnumerator::get(Context, 7, false, "name");
|
auto *N = DIEnumerator::get(Context, 7, false, "name");
|
||||||
EXPECT_EQ(dwarf::DW_TAG_enumerator, N->getTag());
|
EXPECT_EQ(dwarf::DW_TAG_enumerator, N->getTag());
|
||||||
EXPECT_EQ(7, N->getValue());
|
EXPECT_EQ(7, N->getValue());
|
||||||
EXPECT_EQ(false, N->isUnsigned());
|
EXPECT_FALSE(N->isUnsigned());
|
||||||
EXPECT_EQ("name", N->getName());
|
EXPECT_EQ("name", N->getName());
|
||||||
EXPECT_EQ(N, DIEnumerator::get(Context, 7, false, "name"));
|
EXPECT_EQ(N, DIEnumerator::get(Context, 7, false, "name"));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue