aboutsummaryrefslogtreecommitdiff
path: root/icing/tokenization/combined-tokenizer_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'icing/tokenization/combined-tokenizer_test.cc')
-rw-r--r--icing/tokenization/combined-tokenizer_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/icing/tokenization/combined-tokenizer_test.cc b/icing/tokenization/combined-tokenizer_test.cc
index 8314e91..0e400e2 100644
--- a/icing/tokenization/combined-tokenizer_test.cc
+++ b/icing/tokenization/combined-tokenizer_test.cc
@@ -178,7 +178,7 @@ TEST_F(CombinedTokenizerTest, ColonsPropertyRestricts) {
CreateQueryTokenizer(tokenizer_factory::QueryTokenizerType::RAW_QUERY,
lang_segmenter_.get()));
- if (IsIcu72PlusTokenization()) {
+ if (GetIcuTokenizationVersion() >= 72) {
// In ICU 72+ and above, ':' are no longer considered word connectors. The
// query tokenizer should still consider them to be property restricts.
constexpr std::string_view kText = "foo:bar";