This is an automated email from the ASF dual-hosted git repository.

damjan pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit cc5c65fb5cb49c605347d106eb461570cd8b6afc
Author: Damjan Jovanovic <[email protected]>
AuthorDate: Thu May 8 04:52:44 2025 +0200

    Fix the XCharacterClassificationTest._getCharacterDirection() test
    by using 43 (the '+' sign) instead of 47 ('/') when testing for the
    DirectionProperty.EUROPEAN_NUMBER_SEPARATOR property.
    
    Patch by: me
---
 test/testuno/source/api/i18n/XCharacterClassificationTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/testuno/source/api/i18n/XCharacterClassificationTest.java 
b/test/testuno/source/api/i18n/XCharacterClassificationTest.java
index 507a6c53f8..ceeec10516 100644
--- a/test/testuno/source/api/i18n/XCharacterClassificationTest.java
+++ b/test/testuno/source/api/i18n/XCharacterClassificationTest.java
@@ -317,7 +317,7 @@ public class XCharacterClassificationTest {
     @Test
     public void _getCharacterDirection() {
         boolean res = true;
-        String toCheck = new String(new char[]{65,1470,48,47,35,1632,44,10,
+        String toCheck = new String(new char[]{65,1470,48,43,35,1632,44,10,
                                 9,12,33,8234,8237,1563,8235,8238,8236,768,1});
         for (short i=0;i<19;i++) {
             short get = oObj.getCharacterDirection(toCheck, i);

Reply via email to