assertion failure on darwin_x86_64, have to investigage

PiperOrigin-RevId: 303346402
This commit is contained in:
Snappy Team
2020-03-27 16:35:10 +00:00
committed by Victor Costan
parent 0faf56378e
commit e19178748f
3 changed files with 21 additions and 67 deletions

View File

@@ -957,9 +957,8 @@ TEST(Snappy, ZeroOffsetCopyValidation) {
namespace {
int TestFindMatchLength(const char* s1, const char *s2, unsigned length) {
uint64 data;
std::pair<size_t, bool> p =
snappy::internal::FindMatchLength(s1, s2, s2 + length, &data);
snappy::internal::FindMatchLength(s1, s2, s2 + length);
CHECK_EQ(p.first < 8, p.second);
return p.first;
}