summaryrefslogtreecommitdiff
path: root/svl/qa
diff options
context:
space:
mode:
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 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 = "";