Fix ICU tests on alpine / macOS. (#15177)

The word boundary behaviour is slightly different, consider it
acceptable for the tests.
This commit is contained in:
6543 authored and GitHub committed 2023-03-03 14:22:06 +00:00
1 parent 02f74f3a99
commit 6b6e91e610
2 files changed
+3

No files matched your search

+1
View File
@@ -0,0 +1 @@
Fix test_icu_word_boundary_punctuation for alpine / macos installed ICU versions.
+2
View File
@@ -696,6 +696,8 @@ class UserDirectoryICUTestCase(HomeserverTestCase):
["lazy'fox", "jumped", "over", "the", "dog"],
# ICU 70 on Ubuntu 22.04
["lazy'fox", "jumped:over", "the.dog"],
# pyicu 2.10.2 on Alpine edge / macOS
["lazy'fox", "jumped", "over", "the.dog"],
),
)