[PATCH] D95255: [RGT][ADT] Remove test assertion that will not be executed.
Paul Robinson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 22 11:56:15 PST 2021
probinson created this revision.
probinson added reviewers: nlopes, jlebar.
probinson requested review of this revision.
Herald added a project: LLVM.
Found by the Rotten Green Tests project.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D95255
Files:
llvm/unittests/ADT/ImmutableSetTest.cpp
Index: llvm/unittests/ADT/ImmutableSetTest.cpp
===================================================================
--- llvm/unittests/ADT/ImmutableSetTest.cpp
+++ llvm/unittests/ADT/ImmutableSetTest.cpp
@@ -180,7 +180,6 @@
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);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95255.318598.patch
Type: text/x-patch
Size: 377 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210122/fb621a7b/attachment.bin>
More information about the llvm-commits
mailing list