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
|
|
@ -316,7 +316,7 @@ TEST(HashValueTest, Strings) {
|
|||
t(std::string(huge)), t(absl::string_view(huge)), //
|
||||
t(FlatCord(huge)), t(FragmentedCord(huge)))));
|
||||
|
||||
// Make sure that hashing a `const char*` does not use its std::string-value.
|
||||
// Make sure that hashing a `const char*` does not use its string-value.
|
||||
EXPECT_NE(SpyHash(static_cast<const char*>("ABC")),
|
||||
SpyHash(absl::string_view("ABC")));
|
||||
}
|
||||
|
|
@ -512,7 +512,7 @@ TEST(HashValueTest, CombinePiecewiseBuffer) {
|
|||
SCOPED_TRACE(big_buffer_size);
|
||||
std::string big_buffer;
|
||||
for (int i = 0; i < big_buffer_size; ++i) {
|
||||
// Arbitrary std::string
|
||||
// Arbitrary string
|
||||
big_buffer.push_back(32 + (i * (i / 3)) % 64);
|
||||
}
|
||||
auto big_buffer_hash = hash(PiecewiseHashTester(big_buffer));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue