svl/qa/unit/svl.cxx | 5 +++++ 1 file changed, 5 insertions(+) New commits: commit 05ffc50f78e9d44c4beeee312a59f677f26defff Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Wed May 26 12:39:45 2021 +0200 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Wed May 26 16:20:20 2021 +0200
tdf#100122: svl_qa_cppunit: Add unittest Change-Id: Ie0a7ea6ae08ea96b04019148f80ee94ef22ef1bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116187 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx index cc5c11bbe2cd..42036e6f0f36 100644 --- a/svl/qa/unit/svl.cxx +++ b/svl/qa/unit/svl.cxx @@ -1360,6 +1360,11 @@ void Test::testUserDefinedNumberFormats() sCode = "HH:MM:SS"; checkPreviewString(aFormatter, sCode, 0.365972222222222, eLang, sExpected); } + { // tdf#100122 + sCode = "?/?"; + sExpected = "-1/2"; + checkPreviewString(aFormatter, sCode, -0.5, eLang, sExpected); + } { // tdf#52510 sCode = "_($* #,##0.00_);_($* (#,##0.00);"; sExpected = ""; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits