summaryrefslogtreecommitdiff
path: root/svl/qa
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2021-05-24 16:57:49 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2021-05-24 21:28:15 +0200
commitccbd6b4592cbc688122feafda64b10353da7264c (patch)
tree9528926d94eaae0687d6ba6b26d93e3ff9f61b0f /svl/qa
parent706d423bb12c79f0e6c71b7e38d092d1bdf1c259 (diff)
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@libreoffice.org>
Diffstat (limited to 'svl/qa')
-rw-r--r--svl/qa/unit/svl.cxx5
1 files changed, 5 insertions, 0 deletions
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";