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

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


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

New commits:
commit 811c9ca5747c8144ffa4ff327d0e4238f4197033
Author:     Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Mon May 24 17:20:23 2021 +0200
Commit:     Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Mon May 24 21:28:37 2021 +0200

    tdf#100834: svl_qa_cppunit: Add unittest
    
    Change-Id: I14896935a4735d3719b385e8e7b70094e3d68904
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116067
    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 f7a39d7e79c0..745e01297de2 100644
--- a/svl/qa/unit/svl.cxx
+++ b/svl/qa/unit/svl.cxx
@@ -1342,6 +1342,11 @@ void Test::testUserDefinedNumberFormats()
         sExpected = "003 016/113";
         checkPreviewString(aFormatter, sCode, M_PI, eLang, sExpected);
     }
+    {  // tdf#100834
+        sCode = "#\" string \"?/???";
+        sExpected = "3 string 16/113";
+        checkPreviewString(aFormatter, sCode, M_PI, eLang, sExpected);
+    }
     {  // tdf#129878
         sCode =     "[HH]";
         sExpected = "#FMT";


More information about the Libreoffice-commits mailing list