[llvm] r264290 - ErrorTest.cpp: Fix an expression, possibly typo.

NAKAMURA Takumi via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 24 08:19:22 PDT 2016


Author: chapuni
Date: Thu Mar 24 10:19:22 2016
New Revision: 264290

URL: http://llvm.org/viewvc/llvm-project?rev=264290&view=rev
Log:
ErrorTest.cpp: Fix an expression, possibly typo.

Modified:
    llvm/trunk/unittests/Support/ErrorTest.cpp

Modified: llvm/trunk/unittests/Support/ErrorTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Support/ErrorTest.cpp?rev=264290&r1=264289&r2=264290&view=diff
==============================================================================
--- llvm/trunk/unittests/Support/ErrorTest.cpp (original)
+++ llvm/trunk/unittests/Support/ErrorTest.cpp Thu Mar 24 10:19:22 2016
@@ -245,7 +245,7 @@ TEST(Error, HandlerShadowing) {
         DummyExtraInfo = SE.getExtraInfo();
       });
 
-  EXPECT_TRUE(CaughtErrorInfo = 42 && DummyInfo == 0 && DummyExtraInfo == 0)
+  EXPECT_TRUE(CaughtErrorInfo == 42 && DummyInfo == 0 && DummyExtraInfo == 0)
       << "General Error handler did not shadow specific handler";
 }
 




More information about the llvm-commits mailing list