svl/qa/unit/svl.cxx | 5 +++++ 1 file changed, 5 insertions(+) New commits: commit a810feed4aa9eade632098704f7386afb7dfec76 Author: Eike Rathke <er...@redhat.com> Date: Mon Oct 16 23:17:22 2017 +0200
Unit test for tdf#112933 Change-Id: I0988401a9aa7afc25ea3a50883e4d3a5cfbe9d44 diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx index 97726d52823b..43824e4d8c71 100644 --- a/svl/qa/unit/svl.cxx +++ b/svl/qa/unit/svl.cxx @@ -1307,6 +1307,11 @@ void Test::testUserDefinedNumberFormats() sExpected = "-1.00E-03"; checkPreviewString(aFormatter, sCode, -0.000999999, eLang, sExpected); } + { // tdf#112933 one decimal seconds fraction + sCode = "MM:SS.0"; + sExpected = "23:53.6"; + checkPreviewString(aFormatter, sCode, M_PI, eLang, sExpected); + } } CPPUNIT_TEST_SUITE_REGISTRATION(Test); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits