diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-05-26 12:39:45 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-05-26 16:20:20 +0200 |
commit | 05ffc50f78e9d44c4beeee312a59f677f26defff (patch) | |
tree | 68c9506279bcc698713f0dfbe80b38c98c815d73 /svl | |
parent | 70dfe58b8b45a7221a1f6e335d0d4afcf0c1c026 (diff) |
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 <xiscofauli@libreoffice.org>
Diffstat (limited to 'svl')
-rw-r--r-- | svl/qa/unit/svl.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
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 = ""; |