From 2f2afc1aae898651e26987a5c71f3febb19bca98 Mon Sep 17 00:00:00 2001 From: rdivacky Date: Sun, 21 Mar 2010 10:49:05 +0000 Subject: Update LLVM to r99115. --- unittests/ADT/SmallVectorTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unittests/ADT/SmallVectorTest.cpp') diff --git a/unittests/ADT/SmallVectorTest.cpp b/unittests/ADT/SmallVectorTest.cpp index 8a81796..d7dc3af 100644 --- a/unittests/ADT/SmallVectorTest.cpp +++ b/unittests/ADT/SmallVectorTest.cpp @@ -384,7 +384,7 @@ TEST_F(SmallVectorTest, ConstVectorTest) { // Direct array access. TEST_F(SmallVectorTest, DirectVectorTest) { EXPECT_EQ(0u, theVector.size()); - EXPECT_EQ(4u, theVector.capacity()); + EXPECT_LE(4u, theVector.capacity()); EXPECT_EQ(0, Constructable::getNumConstructorCalls()); theVector.end()[0] = 1; theVector.end()[1] = 2; -- cgit v1.1