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

Xisco Fauli (via logerrit) logerrit at kemper.freedesktop.org
Mon May 24 19:28:57 UTC 2021


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

New commits:
commit ccbd6b4592cbc688122feafda64b10353da7264c
Author:     Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Mon May 24 16:57:49 2021 +0200
Commit:     Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Mon May 24 21:28:15 2021 +0200

    tdf#100755: svl_qa_cppunit: Add unittest
    
    Change-Id: I350148d788ff1bf9dd1c5ccf97aeaad04f975634
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116062
    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 d667ec4687eb..f7a39d7e79c0 100644
--- a/svl/qa/unit/svl.cxx
+++ b/svl/qa/unit/svl.cxx
@@ -1337,6 +1337,11 @@ void Test::testUserDefinedNumberFormats()
         sExpected = "-12.00 ;";
         checkPreviewString(aFormatter, sCode, -12.0, eLang, sExpected);
     }
+    {  // tdf#100755
+        sCode = "000\" \"000/000";
+        sExpected = "003 016/113";
+        checkPreviewString(aFormatter, sCode, M_PI, eLang, sExpected);
+    }
     {  // tdf#129878
         sCode =     "[HH]";
         sExpected = "#FMT";


More information about the Libreoffice-commits mailing list