diff options
author | Owen Anderson <resistor@mac.com> | 2009-04-23 00:15:26 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-04-23 00:15:26 +0000 |
commit | 3f7c72ab548b534cd0c4efa070c6de07dbed69f9 (patch) | |
tree | 77ec6046361757108f20257af42701f1fc28a90e /unittests | |
parent | 9c159499675228990ffa5a169914ce30a455442f (diff) | |
download | external_llvm-3f7c72ab548b534cd0c4efa070c6de07dbed69f9.zip external_llvm-3f7c72ab548b534cd0c4efa070c6de07dbed69f9.tar.gz external_llvm-3f7c72ab548b534cd0c4efa070c6de07dbed69f9.tar.bz2 |
Use the testcase from PR2791.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69846 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/ADT/SmallVectorTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unittests/ADT/SmallVectorTest.cpp b/unittests/ADT/SmallVectorTest.cpp index 7404bee..19ef099 100644 --- a/unittests/ADT/SmallVectorTest.cpp +++ b/unittests/ADT/SmallVectorTest.cpp @@ -340,9 +340,9 @@ TEST_F(SmallVectorTest, InsertTest) { TEST_F(SmallVectorTest, InsertRepeatedTest) { SCOPED_TRACE("InsertRepeatedTest"); - makeSequence(theVector, 1, 3); - theVector.insert(theVector.begin() + 1, 3, Constructable(77)); - assertValuesInOrder(theVector, 6u, 1, 77, 77, 77, 2, 3); + makeSequence(theVector, 10, 15); + theVector.insert(theVector.begin() + 1, 2, Constructable(16)); + assertValuesInOrder(theVector, 8u, 10, 16, 16, 11, 12, 13, 14, 15); } // Insert range. |