Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit ae01c87

Browse files
Zachary Turnerbob-wilson
authored andcommitted
Fix unit test after function name change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280129 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent b389b0a commit ae01c87

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

unittests/ADT/ArrayRefTest.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,18 +102,18 @@ TEST(ArrayRefTest, DropFront) {
102102
EXPECT_EQ(1U, AR3.drop_front(AR3.size() - 1).size());
103103
}
104104

105-
TEST(ArrayRefTest, KeepBack) {
105+
TEST(ArrayRefTest, TakeBack) {
106106
static const int TheNumbers[] = {4, 8, 15, 16, 23, 42};
107107
ArrayRef<int> AR1(TheNumbers);
108108
ArrayRef<int> AR2(AR1.end() - 1, 1);
109-
EXPECT_TRUE(AR1.keep_back().equals(AR2));
109+
EXPECT_TRUE(AR1.take_back().equals(AR2));
110110
}
111111

112-
TEST(ArrayRefTest, KeepFront) {
112+
TEST(ArrayRefTest, TakeFront) {
113113
static const int TheNumbers[] = {4, 8, 15, 16, 23, 42};
114114
ArrayRef<int> AR1(TheNumbers);
115115
ArrayRef<int> AR2(AR1.data(), 2);
116-
EXPECT_TRUE(AR1.keep_front(2).equals(AR2));
116+
EXPECT_TRUE(AR1.take_front(2).equals(AR2));
117117
}
118118

119119
TEST(ArrayRefTest, Equals) {

0 commit comments

Comments
 (0)