diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-05-21 10:45:25 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-05-21 12:15:16 +0200 |
commit | a6241e3f7585c3c1806df64d4c485afb47da68c4 (patch) | |
tree | 7205356b23ee54e3bc6e67d0a815c46028fbfc38 /svl/qa | |
parent | e95bafd4bf9e8159d5d58af413848c64aeed571a (diff) |
tdf#129878: svl_qa_cppunit: Add unittest
Change-Id: I61ad886f4fc79ae6c4a71bcd331adbd7a8e9d966
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115900
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'svl/qa')
-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 69135ebdb426..d667ec4687eb 100644 --- a/svl/qa/unit/svl.cxx +++ b/svl/qa/unit/svl.cxx @@ -1337,6 +1337,11 @@ void Test::testUserDefinedNumberFormats() sExpected = "-12.00 ;"; checkPreviewString(aFormatter, sCode, -12.0, eLang, sExpected); } + { // tdf#129878 + sCode = "[HH]"; + sExpected = "#FMT"; + checkPreviewString(aFormatter, sCode, 2E+306, eLang, sExpected); + } { // tdf#122991 sCode = "[HH]:MM:SS"; sExpected = "08:47:00"; |