mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Fix build
This commit is contained in:
parent
fbb4b05df0
commit
39c3efdb00
@ -61,12 +61,12 @@ TEST_P(SplitTokenExtractorTest, next)
|
||||
for (const auto & expected_token : param.tokens)
|
||||
{
|
||||
SCOPED_TRACE(++i);
|
||||
ASSERT_TRUE(token_extractor.next(data->data(), data->size(), &pos, &token_start, &token_len));
|
||||
ASSERT_TRUE(token_extractor.nextInColumn(data->data(), data->size(), &pos, &token_start, &token_len));
|
||||
|
||||
EXPECT_EQ(expected_token, std::string_view(data->data() + token_start, token_len))
|
||||
<< " token_start:" << token_start << " token_len: " << token_len;
|
||||
}
|
||||
ASSERT_FALSE(token_extractor.next(data->data(), data->size(), &pos, &token_start, &token_len))
|
||||
ASSERT_FALSE(token_extractor.nextInColumn(data->data(), data->size(), &pos, &token_start, &token_len))
|
||||
<< "\n\t=> \"" << param.source.substr(token_start, token_len) << "\""
|
||||
<< "\n\t" << token_start << ", " << token_len << ", " << pos << ", " << data->size();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user