From b91d37bcab9a6ab734c96b9e0ca59c49a75e0ed2 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Fri, 17 Jun 2016 08:49:04 +0200 Subject: CppunitTest_sal_rtl_cipher: fix loplugin:cppunitassertequals warnings Change-Id: I94e79ae616d5cb9287e69544e283ce4d288a19ef Reviewed-on: https://gerrit.libreoffice.org/26401 Reviewed-by: Miklos Vajna Tested-by: Jenkins (cherry picked from commit be4dd3954a57518168647c18af298ecda0fb2428) --- sal/qa/osl/pipe/osl_Pipe.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sal/qa/osl/pipe/osl_Pipe.cxx') diff --git a/sal/qa/osl/pipe/osl_Pipe.cxx b/sal/qa/osl/pipe/osl_Pipe.cxx index 568f0472923d..4b13bd9f22a5 100644 --- a/sal/qa/osl/pipe/osl_Pipe.cxx +++ b/sal/qa/osl/pipe/osl_Pipe.cxx @@ -494,8 +494,8 @@ namespace osl_Pipe aPipe.close( ); int nRet = aPipe.send( m_pTestString1.getStr(), 3 ); - CPPUNIT_ASSERT_MESSAGE( "#test comment#: use after close.", - OSL_PIPE_FAIL == nRet ); + CPPUNIT_ASSERT_EQUAL_MESSAGE( "#test comment#: use after close.", + nRet, OSL_PIPE_FAIL ); } CPPUNIT_TEST_SUITE( close ); -- cgit v1.2.3