another one

llvm-svn: 98850
diff --git a/llvm/unittests/VMCore/InstructionsTest.cpp b/llvm/unittests/VMCore/InstructionsTest.cpp
index 8828185..c1baa74 100644
--- a/llvm/unittests/VMCore/InstructionsTest.cpp
+++ b/llvm/unittests/VMCore/InstructionsTest.cpp
@@ -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());