mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 21:16:56 +00:00
Clean
This commit is contained in:
parent
1275923a68
commit
7d5da66db9
@ -257,7 +257,7 @@ TEST(ArrayTest, Append) {
|
||||
Array<char, 10> array;
|
||||
const char *test = "test";
|
||||
array.append(test, test + 5);
|
||||
EXPECT_STREQ("test", &array[0]);
|
||||
EXPECT_STREQ(test, &array[0]);
|
||||
EXPECT_EQ(5u, array.size());
|
||||
array.resize(10);
|
||||
array.append(test, test + 2);
|
||||
@ -272,7 +272,7 @@ TEST(ArrayTest, AppendAllocatesEnoughStorage) {
|
||||
const char *test = "abcdefgh";
|
||||
array.resize(10);
|
||||
array.append(test, test + 9);
|
||||
EXPECT_STREQ("test", &array[10]);
|
||||
EXPECT_STREQ(test, &array[10]);
|
||||
EXPECT_EQ(19u, array.size());
|
||||
EXPECT_EQ(19u, array.capacity());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user