diff options
author | Eike Rathke <erack@redhat.com> | 2017-10-16 23:17:22 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-10-16 23:18:32 +0200 |
commit | a810feed4aa9eade632098704f7386afb7dfec76 (patch) | |
tree | 8a9de25f12dcb58f690ee04eeebdd8c4d3a619f4 /svl | |
parent | TSCP: remove old classification fields before adding new (diff) | |
download | core-a810feed4aa9eade632098704f7386afb7dfec76.tar.gz core-a810feed4aa9eade632098704f7386afb7dfec76.zip |
Unit test for tdf#112933
Change-Id: I0988401a9aa7afc25ea3a50883e4d3a5cfbe9d44
Diffstat (limited to 'svl')
-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 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); |