diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-08-04 00:54:47 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2013-08-04 01:56:36 +0200 |
commit | 68a4d1f755bf782795c658565dd24fede6ca63b0 (patch) | |
tree | c4c2c71463b1320372b609f9ef04cf30e006026c | |
parent | 63572992755a9e2f5ba3e73bbe10ab145f102896 (diff) |
sax converter unittest: test accept trailing zeros in fractional seconds
Change-Id: I3b6080df1cf8c13b5c0781c34c7806ac3c2cfbc7
-rw-r--r-- | sax/qa/cppunit/test_converter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sax/qa/cppunit/test_converter.cxx b/sax/qa/cppunit/test_converter.cxx index b1cb070f8bbc..4da46e9d3f4e 100644 --- a/sax/qa/cppunit/test_converter.cxx +++ b/sax/qa/cppunit/test_converter.cxx @@ -135,7 +135,7 @@ void ConverterTest::testDuration() "PT9.999999999999999999999999999999S", "PT9.999999999S" ); doTest( util::Duration(true , 0, 0, 9999, 0, 0, 0, 0), "-P9999D" ); doTest( util::Duration(true , 7, 6, 5, 4, 3, 2, 10000000), - "-P7Y6M5DT4H3M2.01S", "-P7Y6M5DT4H3M2.010000000S" ); + "-P7Y6M5DT4H3M2.01000S", "-P7Y6M5DT4H3M2.010000000S" ); doTest( util::Duration(false, 0, 6, 0, 0, 3, 0, 0), "P6MT3M" ); doTest( util::Duration(false, 0, 0, 0, 0, 0, 0, 0), "P0D" ); doTestDurationF("1Y1M"); // invalid: no ^P |