diff options
Diffstat (limited to 'llvm/unittests/ADT/SmallVectorTest.cpp')
-rw-r--r-- | llvm/unittests/ADT/SmallVectorTest.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/unittests/ADT/SmallVectorTest.cpp b/llvm/unittests/ADT/SmallVectorTest.cpp index dbe4048..162716a 100644 --- a/llvm/unittests/ADT/SmallVectorTest.cpp +++ b/llvm/unittests/ADT/SmallVectorTest.cpp @@ -261,8 +261,7 @@ TYPED_TEST(SmallVectorTest, PushPopTest) { this->assertValuesInOrder(this->theVector, 2u, 2, 1); // Pop remaining elements - this->theVector.pop_back(); - this->theVector.pop_back(); + this->theVector.pop_back_n(2); this->assertEmpty(this->theVector); // Check number of constructor calls. Should be 2 for each list element, |