[PATCH] D43233: Use EXPECT_FALSE instead of EXPECT_EQ(false, ...

Momchil Velikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 14 05:14:17 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL325121: Use EXPECT_FALSE instead of EXPECT_EQ(false, ... (authored by chill, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D43233?vs=134027&id=134201#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D43233

Files:
  llvm/trunk/unittests/IR/MetadataTest.cpp


Index: llvm/trunk/unittests/IR/MetadataTest.cpp
===================================================================
--- llvm/trunk/unittests/IR/MetadataTest.cpp
+++ llvm/trunk/unittests/IR/MetadataTest.cpp
@@ -981,7 +981,7 @@
   auto *N = DIEnumerator::get(Context, 7, false, "name");
   EXPECT_EQ(dwarf::DW_TAG_enumerator, N->getTag());
   EXPECT_EQ(7, N->getValue());
-  EXPECT_EQ(false, N->isUnsigned());
+  EXPECT_FALSE(N->isUnsigned());
   EXPECT_EQ("name", N->getName());
   EXPECT_EQ(N, DIEnumerator::get(Context, 7, false, "name"));
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43233.134201.patch
Type: text/x-patch
Size: 543 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180214/a9aeedba/attachment.bin>


More information about the llvm-commits mailing list