[Libreoffice-commits] core.git: test/source

Michael Stahl mstahl at redhat.com
Fri Apr 11 07:51:24 PDT 2014


 test/source/sheet/xsheetannotation.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8755eb0274dc71acfc4d589e1fe5cefd34b77cec
Author: Michael Stahl <mstahl at redhat.com>
Date:   Fri Apr 11 16:46:04 2014 +0200

    adapt XSheetAnnotation::testGetDate() to locale change
    
    ... in c0a4de1ede27c5911fea0829deabee0b599d5d40.
    
    Change-Id: Ic93b6febe719a465d768338faa3e222e8fca2e97

diff --git a/test/source/sheet/xsheetannotation.cxx b/test/source/sheet/xsheetannotation.cxx
index e59f94a..3a24c31 100644
--- a/test/source/sheet/xsheetannotation.cxx
+++ b/test/source/sheet/xsheetannotation.cxx
@@ -47,7 +47,7 @@ void XSheetAnnotation::testGetDate()
     uno::Reference< sheet::XSheetAnnotation > aSheetAnnotation (init(), UNO_QUERY_THROW);
     OUString aDate = aSheetAnnotation->getDate();
 
-    CPPUNIT_ASSERT_MESSAGE("Wrong date", aDate.equals("01/17/2013"));
+    CPPUNIT_ASSERT_MESSAGE("Wrong date", aDate.equals("01/17/13"));
 }
 void XSheetAnnotation::testGetIsVisible()
 {


More information about the Libreoffice-commits mailing list