[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 15:04:10 PST 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG6ef95056b9dc: [RGT][ADT] Remove test assertion that will not be executed (authored by probinson).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95255/new/

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.318658.patch
Type: text/x-patch
Size: 377 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210122/65b0a9c6/attachment.bin>


More information about the llvm-commits mailing list