diff options
author | Rene Engelhard <rene@rene-engelhard.de> | 2022-04-15 08:38:52 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2022-04-19 13:23:14 +0200 |
commit | 2514dc0cb734c14df7c7b295b71a238aaa957180 (patch) | |
tree | 30e472b8b9249ea3ab9c9e6c1753e2ae66062b4d /i18npool | |
parent | 9b2a2d94abaaaef0c87ba525f63d75b33916c21d (diff) |
apply ICU test workaround to < 70 to "fix" test with ICU 71
See also 263961306ede0656ebb7904034a2172615ce81d0
Change-Id: Ib64ec43dba59ffddb34fe7f1a0f0d2e589c3455c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133063
Tested-by: René Engelhard <rene@debian.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
(cherry picked from commit 67c577c692faaa0382d26c3c3f47b5ffa9deaa77)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133046
Tested-by: Jenkins
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/qa/cppunit/test_breakiterator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/qa/cppunit/test_breakiterator.cxx b/i18npool/qa/cppunit/test_breakiterator.cxx index b74ff4222be4..cdcbff9be535 100644 --- a/i18npool/qa/cppunit/test_breakiterator.cxx +++ b/i18npool/qa/cppunit/test_breakiterator.cxx @@ -856,11 +856,11 @@ void TestBreakIterator::testLao() i18n::WordType::DICTIONARY_WORD, true); CPPUNIT_ASSERT_EQUAL(sal_Int32(5), aBounds.startPos); -#if (U_ICU_VERSION_MAJOR_NUM != 70) +#if (U_ICU_VERSION_MAJOR_NUM < 70) CPPUNIT_ASSERT_EQUAL(sal_Int32(9), aBounds.endPos); #else // FIXME: - // In ICU 70 for yet unknown reason the word boundary 9 is not detected and + // In ICU 70/71 for yet unknown reason the word boundary 9 is not detected and // instead the length 12 is returned as endpos. // Deep in // icu_70::RuleBasedBreakIterator::BreakCache::next() |