From dc96de7c62e1e6f37ec485f3f0f564a00f3d01f4 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 22 Feb 2023 21:28:52 +0100 Subject: 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 --- sccomp/qa/unit/solver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sccomp') 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 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 xDesc(xSolver, uno::UNO_QUERY_THROW); const OString sMessage("Empty description for " + OUStringToOString(rName, RTL_TEXTENCODING_UTF8)); -- cgit