diff options
author | Gabor Greif <ggreif@gmail.com> | 2010-03-18 18:59:08 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2010-03-18 18:59:08 +0000 |
commit | fe7bb05ad1bb2644140a2009e34b0b581d9fee67 (patch) | |
tree | 58a46b79db847898127b470076895b03f32093f2 /unittests/VMCore/InstructionsTest.cpp | |
parent | 9553188fccbf0ae9c5b6bef26d0d2bd5feff8b59 (diff) |
another one
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98850 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/VMCore/InstructionsTest.cpp')
-rw-r--r-- | unittests/VMCore/InstructionsTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/VMCore/InstructionsTest.cpp b/unittests/VMCore/InstructionsTest.cpp index 882818536e..c1baa74487 100644 --- a/unittests/VMCore/InstructionsTest.cpp +++ b/unittests/VMCore/InstructionsTest.cpp @@ -59,7 +59,7 @@ TEST(InstructionsTest, BranchInst) { 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()); |