[Libreoffice-commits] core.git: svl/qa
Xisco Fauli (via logerrit)
logerrit at kemper.freedesktop.org
Fri May 21 08:16:49 UTC 2021
svl/qa/unit/svl.cxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit e8578423e9390a07419066d6c350c34fa254095d
Author: Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Fri May 21 01:04:19 2021 +0200
Commit: Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Fri May 21 10:13:00 2021 +0200
tdf#123748: svl_qa_cppunit: Add unittest
Change-Id: I55b3ad930f39f955b5c1f326a12c20af5fc46a1f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115896
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 f5b0bd557d13..3c9fae7931bb 100644
--- a/svl/qa/unit/svl.cxx
+++ b/svl/qa/unit/svl.cxx
@@ -1347,6 +1347,11 @@ void Test::testUserDefinedNumberFormats()
sExpected = "03:23:53 01/02";
checkPreviewString(aFormatter, sCode, M_PI, eLang, sExpected);
}
+ { // tdf#123748
+ sCode = "HH:MM:SS.000000";
+ sExpected = "12:54:00.000000";
+ checkPreviewString(aFormatter, sCode, 43521.5375, eLang, sExpected);
+ }
{ // tdf#101096: different detection of month/minute with Excel
sCode = "HH DD MM"; // month detected because of previous DD
sExpected = "03 02 01";
More information about the Libreoffice-commits
mailing list