[llvm-commits] [llvm] r98850 - /llvm/trunk/unittests/VMCore/InstructionsTest.cpp

Gabor Greif ggreif at gmail.com
Thu Mar 18 11:59:08 PDT 2010


Author: ggreif
Date: Thu Mar 18 13:59:08 2010
New Revision: 98850

URL: http://llvm.org/viewvc/llvm-project?rev=98850&view=rev
Log:
another one

Modified:
    llvm/trunk/unittests/VMCore/InstructionsTest.cpp

Modified: llvm/trunk/unittests/VMCore/InstructionsTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/VMCore/InstructionsTest.cpp?rev=98850&r1=98849&r2=98850&view=diff
==============================================================================
--- llvm/trunk/unittests/VMCore/InstructionsTest.cpp (original)
+++ llvm/trunk/unittests/VMCore/InstructionsTest.cpp Thu Mar 18 13:59:08 2010
@@ -59,7 +59,7 @@
   EXPECT_EQ(b0->getNumOperands(), 1U);
 
   EXPECT_NE(b0->op_begin(), b0->op_end());
-  EXPECT_EQ(b0->op_begin() + 1, b0->op_end());
+  EXPECT_EQ(next(b0->op_begin()), b0->op_end());
 
   EXPECT_EQ(next(b0->op_begin()), b0->op_end());
 





More information about the llvm-commits mailing list