summaryrefslogtreecommitdiff
path: root/svl/qa/unit/svl.cxx
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2024-06-18 16:36:00 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2024-06-18 17:51:36 +0200
commitcac37fefae32fc6a0df2c579e08619568087af81 (patch)
tree68543b53836a03365244e55e3498cec484d22b69 /svl/qa/unit/svl.cxx
parent60fb7edc6dc485870b944e5981dd38d02a718e9e (diff)
tdf#131562: move test to svl and extend it
based on the commit message from 7186541219599e1b51ad35601c2cd015a329f360 "Resolves: tdf#131562 decimal separator may not be surrounded by blanks" Change-Id: I19c2a687663304003566e9d93504f0baf33f1d83 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169111 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Tested-by: Jenkins
Diffstat (limited to 'svl/qa/unit/svl.cxx')
-rw-r--r--svl/qa/unit/svl.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx
index d6dfc9b2bc05..a27651c808e0 100644
--- a/svl/qa/unit/svl.cxx
+++ b/svl/qa/unit/svl.cxx
@@ -1155,6 +1155,13 @@ void Test::testIsNumberFormat()
{ "test", false },
{ "$0.12", true }, // tdf#48706
{ "$.12", true }, // tdf#48706
+ { "1 .", false }, // tdf#131562
+ { "1 .2", false }, // tdf#131562
+ { "1 . 2", false }, // tdf#131562
+ { "1. 2", false }, // tdf#131562
+ { " . 2", false }, // tdf#131562
+ { ". 2", false }, // tdf#131562
+ { " .2", true }, // tdf#131562
{ "Jan1", false }, // tdf#34724
{ "1Jan", false }, // tdf#34724
{ "Jan1 2000", true }, // tdf#91420