summaryrefslogtreecommitdiff
path: root/i18npool/qa
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2021-06-14 13:17:37 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2021-06-14 15:26:23 +0200
commita21fa7312c45b7b0eb331593f1a6fbeb4d27666f (patch)
tree28f909735b3d7e14cbac73653ee00ff2960b490a /i18npool/qa
parent900506c9060415ab890a9169c4cb7997d0ba8217 (diff)
We only support ICU version 4.6 or newer, so drop these checks
The minimal ICU version check is in configure.ac. Change-Id: Ib6480cd3290dabb45d87c6dcbcc9b5513d172e21 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117119 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'i18npool/qa')
-rw-r--r--i18npool/qa/cppunit/test_breakiterator.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/i18npool/qa/cppunit/test_breakiterator.cxx b/i18npool/qa/cppunit/test_breakiterator.cxx
index a12949c952e1..a341c712f704 100644
--- a/i18npool/qa/cppunit/test_breakiterator.cxx
+++ b/i18npool/qa/cppunit/test_breakiterator.cxx
@@ -276,12 +276,6 @@ void TestBreakIterator::testWordBoundaries()
//make sure that in all cases isBeginWord and isEndWord matches getWordBoundary
for (size_t i = 0; i < SAL_N_ELEMENTS(aBreakTests); ++i)
{
-#if (U_ICU_VERSION_MAJOR_NUM == 4) && (U_ICU_VERSION_MINOR_NUM <= 2)
- //Note the breakiterator test is known to fail on older icu
- //versions (4.2.1) for the 200B (ZWSP) Zero Width Space testcase.
- if (aBreakTests[i] == 0x200B)
- continue;
-#endif
OUString aTest = "Word" + OUStringChar(aBreakTests[i]) + "Word";
aBounds = m_xBreak->getWordBoundary(aTest, 0, aLocale, mode, true);
switch (mode)