summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2022-07-13 15:44:59 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2022-07-13 20:39:45 +0200
commit126da357f4e9683073cca0b0794398ad7914e483 (patch)
tree41bfa2ee3fb384031613f279ab543fb38bf5fa8f /svl
parent5169378d2a0f0a25013c8a4387a6e3cb1a4a55e9 (diff)
tdf#149950: svl_qa_cppunit: Add unittest
Change-Id: Iae7facef72ad17b29b49ea5b52aab77c16357da8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137031 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'svl')
-rw-r--r--svl/qa/unit/svl.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx
index f125305783c5..7476ac339bdd 100644
--- a/svl/qa/unit/svl.cxx
+++ b/svl/qa/unit/svl.cxx
@@ -1250,7 +1250,8 @@ void Test::testIsNumberFormatSpecific()
{ "1999-11-22", true, "1999-11-22", 0 },
{ "11/2/1", true, "2011-02-01", 0 },
{ "99-2-11", true, "1999-02-11", 0 },
- { "22-2-11", true, "2022-02-11", 0 }
+ { "22-2-11", true, "2022-02-11", 0 },
+ { "02 Mar 2020",true, "2020-03-02", 0 }
};
checkSpecificNumberFormats( aFormatter, aIO, "[en-ZA] date");