[Libreoffice-commits] core.git: sc/qa

Tamás Zolnai tamas.zolnai at collabora.com
Sun Nov 20 12:31:49 UTC 2016


 sc/qa/unit/subsequent_export-test.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit f463d68c66f5d12352a55413ae02352451101c5d
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
Date:   Sun Nov 20 13:17:14 2016 +0100

    Fix this unit test
    
    Change-Id: Ia231c38cfce03449babc8bc6e72b049ea08b56ae

diff --git a/sc/qa/unit/subsequent_export-test.cxx b/sc/qa/unit/subsequent_export-test.cxx
index 8d8183b..158f26b 100644
--- a/sc/qa/unit/subsequent_export-test.cxx
+++ b/sc/qa/unit/subsequent_export-test.cxx
@@ -2969,8 +2969,10 @@ void ScExportTest::testPivotTableMedian()
 
     const ScDPSaveDimension* pDim = aDims.back();
     CPPUNIT_ASSERT_EQUAL_MESSAGE(
-        "Function for the data field should be COUNT.",
+        "Function for the data field should be MEDIAN.",
         sal_uInt16(sheet::GeneralFunction_MEDIAN), pDim->GetFunction());
+
+    xDocSh2->DoClose();
 }
 
 void ScExportTest::testFunctionsExcel2010ODS()


More information about the Libreoffice-commits mailing list