Export of internal Abseil changes
-- ea0cfebeb69b25bec343652bbe1a203f5476c51a by Mark Barolak <mbar@google.com>: Change "std::string" to "string" in places where a "std::" qualification was incorrectly inserted by automation. PiperOrigin-RevId: 300108520 GitOrigin-RevId: ea0cfebeb69b25bec343652bbe1a203f5476c51a Change-Id: Ie3621e63a6ebad67b9fe56a3ebe33e1d50dac602
This commit is contained in:
parent
d936052d32
commit
a877af1f29
68 changed files with 191 additions and 191 deletions
|
|
@ -162,7 +162,7 @@ TEST(StrCat, Basics) {
|
|||
EXPECT_EQ(result, "12345678910, 10987654321!");
|
||||
|
||||
std::string one =
|
||||
"1"; // Actually, it's the size of this std::string that we want; a
|
||||
"1"; // Actually, it's the size of this string that we want; a
|
||||
// 64-bit build distinguishes between size_t and uint64_t,
|
||||
// even though they're both unsigned 64-bit values.
|
||||
result = absl::StrCat("And a ", one.size(), " and a ",
|
||||
|
|
@ -375,7 +375,7 @@ TEST(StrAppend, Basics) {
|
|||
EXPECT_EQ(result.substr(old_size), "12345678910, 10987654321!");
|
||||
|
||||
std::string one =
|
||||
"1"; // Actually, it's the size of this std::string that we want; a
|
||||
"1"; // Actually, it's the size of this string that we want; a
|
||||
// 64-bit build distinguishes between size_t and uint64_t,
|
||||
// even though they're both unsigned 64-bit values.
|
||||
old_size = result.size();
|
||||
|
|
@ -463,7 +463,7 @@ TEST(StrAppend, CornerCases) {
|
|||
}
|
||||
|
||||
TEST(StrAppend, CornerCasesNonEmptyAppend) {
|
||||
for (std::string result : {"hello", "a std::string too long to fit in the SSO"}) {
|
||||
for (std::string result : {"hello", "a string too long to fit in the SSO"}) {
|
||||
const std::string expected = result;
|
||||
absl::StrAppend(&result, "");
|
||||
EXPECT_EQ(result, expected);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue