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

Stephan Bergmann sbergman at redhat.com
Fri Jun 19 08:15:42 PDT 2015


 chart2/qa/extras/chart2export.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b7faad20cebe2b92e51fa2279f9c49d9fbd5a2d3
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Jun 19 17:14:27 2015 +0200

    Fix expected/actual argument order
    
    Change-Id: I57a44ce4ca9c1e26366a90fb28616f46c209f7b2

diff --git a/chart2/qa/extras/chart2export.cxx b/chart2/qa/extras/chart2export.cxx
index 7e2e11c..b10d6a5 100644
--- a/chart2/qa/extras/chart2export.cxx
+++ b/chart2/qa/extras/chart2export.cxx
@@ -263,7 +263,7 @@ void testErrorBar( Reference< XPropertySet > xErrorBar )
     CPPUNIT_ASSERT(bShowNegative);
     double nVal = 0.0;
     CPPUNIT_ASSERT(xErrorBar->getPropertyValue("PositiveError") >>= nVal);
-    CPPUNIT_ASSERT_DOUBLES_EQUAL(nVal, 10.0, 1e-10);
+    CPPUNIT_ASSERT_DOUBLES_EQUAL(10.0, nVal, 1e-10);
 }
 
 void checkCommonTrendline(


More information about the Libreoffice-commits mailing list