From: Paul Robinson Date: Fri, 15 Jan 2021 16:29:35 +0000 (-0800) Subject: [RGT][ADT] Remove test assertion that will not be executed X-Git-Tag: llvmorg-13-init~393 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6ef95056b9dce1aa64d975b70f059673484bed87;p=platform%2Fupstream%2Fllvm.git [RGT][ADT] Remove test assertion that will not be executed Found by the Rotten Green Tests project. Differential Revision: https://reviews.llvm.org/D95255 --- diff --git a/llvm/unittests/ADT/ImmutableSetTest.cpp b/llvm/unittests/ADT/ImmutableSetTest.cpp index 9fe7a80..e23cd2b 100644 --- a/llvm/unittests/ADT/ImmutableSetTest.cpp +++ b/llvm/unittests/ADT/ImmutableSetTest.cpp @@ -180,7 +180,6 @@ TEST_F(ImmutableSetTest, IterLongSetTest) { int i = 0; for (ImmutableSet::iterator I = S.begin(), E = S.end(); I != E; ++I) { - ASSERT_EQ(i, *I); i++; } ASSERT_EQ(0, i);