summaryrefslogtreecommitdiff
path: root/sccomp
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-02-22 21:28:52 +0100
committerStephan Bergmann <sbergman@redhat.com>2023-02-23 07:04:09 +0000
commitdc96de7c62e1e6f37ec485f3f0f564a00f3d01f4 (patch)
tree2f22076b18079daa2f79021463818de6facd71e4 /sccomp
parent6d404f9ccad3ac6a7ffb83876ae7a656bc2d4547 (diff)
Extend loplugin:cppunitassertequals to more argument types
Change-Id: Ic2990ebc2e4a9a36dcd3f90c5f634ca7dd225d52 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147491 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sccomp')
-rw-r--r--sccomp/qa/unit/solver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sccomp/qa/unit/solver.cxx b/sccomp/qa/unit/solver.cxx
index c4df7b644643..a339eab4db6f 100644
--- a/sccomp/qa/unit/solver.cxx
+++ b/sccomp/qa/unit/solver.cxx
@@ -108,7 +108,7 @@ void LpSolverTest::testSolver(OUString const & rName)
CPPUNIT_ASSERT(xSolver->getSuccess());
uno::Sequence<double> aSolution = xSolver->getSolution();
CPPUNIT_ASSERT_EQUAL(aSolution.getLength(), aVariables.getLength());
- CPPUNIT_ASSERT_EQUAL(aSolution[0], 5.0);
+ CPPUNIT_ASSERT_EQUAL(5.0, aSolution[0]);
uno::Reference<sheet::XSolverDescription> xDesc(xSolver, uno::UNO_QUERY_THROW);
const OString sMessage("Empty description for " + OUStringToOString(rName, RTL_TEXTENCODING_UTF8));