[RGT][ADT] Remove test assertion that will not be executed
authorPaul Robinson <paul.robinson@sony.com>
Fri, 15 Jan 2021 16:29:35 +0000 (08:29 -0800)
committerPaul Robinson <paul.robinson@sony.com>
Fri, 22 Jan 2021 22:52:55 +0000 (14:52 -0800)
Found by the Rotten Green Tests project.

Differential Revision: https://reviews.llvm.org/D95255

llvm/unittests/ADT/ImmutableSetTest.cpp

index 9fe7a80..e23cd2b 100644 (file)
@@ -180,7 +180,6 @@ TEST_F(ImmutableSetTest, IterLongSetTest) {
 
   int i = 0;
   for (ImmutableSet<long>::iterator I = S.begin(), E = S.end(); I != E; ++I) {
-    ASSERT_EQ(i, *I);
     i++;
   }
   ASSERT_EQ(0, i);