summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2021-05-27 12:53:17 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2021-05-27 15:33:21 +0200
commit356628a18e44574810ebad27dc2d499b718094bc (patch)
tree21e7e6bc2e6fa00608f6e78ce826a46ebbb5d85d /svl
parent9b80add7d54298b98cc3d38919fa30f44eb23d60 (diff)
tdf#34724, tdf#91420: svl_qa_cppunit: Add unittest
Change-Id: I81f784fb66b80ab0933047aa81d90aff1eec7971 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116246 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'svl')
-rw-r--r--svl/qa/unit/svl.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx
index 42036e6f0f36..553ae8b7e8c1 100644
--- a/svl/qa/unit/svl.cxx
+++ b/svl/qa/unit/svl.cxx
@@ -1129,8 +1129,10 @@ void Test::testIsNumberFormat()
{ "20.3", true },
{ "2", true },
{ "test", false },
- { "Jan1", false },
- { "Jan1 2000", true },
+ { "Jan1", false }, // tdf#34724
+ { "1Jan", false }, // tdf#34724
+ { "Jan1 2000", true }, // tdf#91420
+ { "Jan1, 2000", true }, // tdf#91420
{ "Jan 1", true },
{ "Sept 1", true }, //tdf#127363
{ "Jan 1 2000", true },