Author: Paul Robinson Date: 2021-01-22T14:52:55-08:00 New Revision: 6ef95056b9dce1aa64d975b70f059673484bed87
URL: https://github.com/llvm/llvm-project/commit/6ef95056b9dce1aa64d975b70f059673484bed87 DIFF: https://github.com/llvm/llvm-project/commit/6ef95056b9dce1aa64d975b70f059673484bed87.diff LOG: [RGT][ADT] Remove test assertion that will not be executed Found by the Rotten Green Tests project. Differential Revision: https://reviews.llvm.org/D95255 Added: Modified: llvm/unittests/ADT/ImmutableSetTest.cpp Removed: ################################################################################ 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<long>::iterator I = S.begin(), E = S.end(); I != E; ++I) { - ASSERT_EQ(i, *I); i++; } ASSERT_EQ(0, i); _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits