From 6ef95056b9dce1aa64d975b70f059673484bed87 Mon Sep 17 00:00:00 2001 From: Paul Robinson Date: Fri, 15 Jan 2021 08:29:35 -0800 Subject: [PATCH] [RGT][ADT] Remove test assertion that will not be executed Found by the Rotten Green Tests project. Differential Revision: https://reviews.llvm.org/D95255 --- llvm/unittests/ADT/ImmutableSetTest.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/llvm/unittests/ADT/ImmutableSetTest.cpp b/llvm/unittests/ADT/ImmutableSetTest.cpp index 9fe7a80d9900..e23cd2b3d1a8 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);