From ccbd6b4592cbc688122feafda64b10353da7264c Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Mon, 24 May 2021 16:57:49 +0200 Subject: 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 --- svl/qa/unit/svl.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'svl/qa') 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"; -- cgit