diff options
author | Eike Rathke <erack@redhat.com> | 2021-11-10 16:00:42 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2021-11-11 01:27:47 +0100 |
commit | 07a2afa4904ac51c9c61aaf41a9d6c7d41126531 (patch) | |
tree | 21b4f98974cb81770bfe365521b50c6b87fdf450 /basic | |
parent | f47a91cc6f1678604c5694ca3987c2f848193b09 (diff) |
Resolves: tdf#110003 tdf#143128 handle lowercase ß vs uppercase ẞ folding
Change lowercase ß U+00DF LATIN SMALL LETTER SHARP S from
LowerToUpper, ToUpper: SS
ToTitle: Ss
FullFolding: ss
to
LowerToUpper, ToUpper: ẞ U+1E9E
ToTitle: ẞ U+1E9E
FullFolding: ss
Add uppercase ẞ U+1E9E LATIN CAPITAL LETTER SHARP S
UpperToLower, ToLower: ß U+00DF
FullFolding: ss
Adjust BASIC Collection test to new reality.
Change-Id: I198e06985b81a71e5de94bf7fab7a0dbaf10baef
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124988
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
Diffstat (limited to 'basic')
-rw-r--r-- | basic/qa/vba_tests/collection.vb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/basic/qa/vba_tests/collection.vb b/basic/qa/vba_tests/collection.vb index 0f0c47a262d9..774f3c4c7904 100644 --- a/basic/qa/vba_tests/collection.vb +++ b/basic/qa/vba_tests/collection.vb @@ -56,16 +56,18 @@ Sub verify_testCollection() ' tdf#144245 - German Eszett is uppercased to a two-character 'SS'. ' This test should fail after tdf#110003 has been fixed since the lowercase and the uppercase ' German Eszett should be matched to the same index. - TestUtil.AssertEqual(b.Count, 3, "b.Count") + ' Before the fix of tdf#110003 + 'TestUtil.AssertEqual(b.Count, 3, "b.Count") ' After the fix of tdf#110003 - ' TestUtil.AssertEqual(b.Count, 2, "b.Count") + TestUtil.AssertEqual(b.Count, 2, "b.Count") TestUtil.AssertEqual(b.Item("SS"), 1, "b.Item(""SS"")") TestUtil.AssertEqual(b.Item("ss"), 1, "b.Item(""ss"")") TestUtil.AssertEqual(b.Item("ẞ"), 3, "b.Item(""ẞ"")") - TestUtil.AssertEqual(b.Item("ß"), 4, "b.Item(""ß"")") + ' Before the fix of tdf#110003 + 'TestUtil.AssertEqual(b.Item("ß"), 4, "b.Item(""ß"")") ' After the fix of tdf#110003 - ' TestUtil.AssertEqual(b.Item("ß"), 3, "b.Item(""ß"")") + TestUtil.AssertEqual(b.Item("ß"), 3, "b.Item(""ß"")") Exit Sub errorHandler: |