summaryrefslogtreecommitdiff
path: root/svl/qa
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2021-05-24 17:20:23 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2021-05-24 21:28:37 +0200
commit811c9ca5747c8144ffa4ff327d0e4238f4197033 (patch)
tree975d5be6997ac2b245b4f32951eb779f80bbd970 /svl/qa
parentccbd6b4592cbc688122feafda64b10353da7264c (diff)
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@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 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";