[Libreoffice-commits] core.git: svl/qa
Xisco Fauli (via logerrit)
logerrit at kemper.freedesktop.org
Fri May 21 10:15:59 UTC 2021
svl/qa/unit/svl.cxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit a6241e3f7585c3c1806df64d4c485afb47da68c4
Author: Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Fri May 21 10:45:25 2021 +0200
Commit: Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Fri May 21 12:15:16 2021 +0200
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 at libreoffice.org>
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";
More information about the Libreoffice-commits
mailing list