[Libreoffice-commits] core.git: svl/qa

Xisco Fauli (via logerrit) logerrit at kemper.freedesktop.org
Wed May 26 14:12:22 UTC 2021


 svl/qa/unit/svl.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 70dfe58b8b45a7221a1f6e335d0d4afcf0c1c026
Author:     Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Wed May 26 12:07:25 2021 +0200
Commit:     Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Wed May 26 16:11:40 2021 +0200

    tdf#52510: svl_qa_cppunit: Add unittest
    
    Change-Id: I18a7000104add044ba59381c201cb5aff9fb459d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116184
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>

diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx
index 745e01297de2..cc5c11bbe2cd 100644
--- a/svl/qa/unit/svl.cxx
+++ b/svl/qa/unit/svl.cxx
@@ -1360,6 +1360,11 @@ void Test::testUserDefinedNumberFormats()
         sCode =     "HH:MM:SS";
         checkPreviewString(aFormatter, sCode, 0.365972222222222, eLang, sExpected);
     }
+    {  // tdf#52510
+        sCode =     "_($* #,##0.00_);_($* (#,##0.00);";
+        sExpected = "";
+        checkPreviewString(aFormatter, sCode, 0.0, eLang, sExpected);
+    }
     {  // tdf#95339: detect SSMM as second minute
         sCode =     "SS:MM:HH DD/MM/YY"; // Month not detected by Excel, but we do not follow that.
         sExpected = "53:23:03 02/01/00";


More information about the Libreoffice-commits mailing list