[Libreoffice-commits] core.git: svl/qa
Xisco Fauli (via logerrit)
logerrit at kemper.freedesktop.org
Thu Sep 30 14:29:19 UTC 2021
svl/qa/unit/svl.cxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit fd1a63089332153e7180f16961d39c9c12654ff4
Author: Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Thu Sep 30 11:04:27 2021 +0200
Commit: Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Thu Sep 30 16:28:44 2021 +0200
tdf#144697: svl_qa_cppunit: Add unittest
Change-Id: I7a62f7c5c8e6fceebcb9671fa28ec98dd7a312a7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122878
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 075515bca512..82e18ea91df1 100644
--- a/svl/qa/unit/svl.cxx
+++ b/svl/qa/unit/svl.cxx
@@ -1372,6 +1372,11 @@ void Test::testUserDefinedNumberFormats()
sExpected = "#FMT";
checkPreviewString(aFormatter, sCode, 2E+306, eLang, sExpected);
}
+ { // tdf#144697
+ sCode = "YYYY-MM-DD";
+ sExpected = "#FMT";
+ checkPreviewString(aFormatter, sCode, -12662108.0, eLang, sExpected);
+ }
{ // tdf#122991
sCode = "[HH]:MM:SS";
sExpected = "08:47:00";
More information about the Libreoffice-commits
mailing list