From be4dd3954a57518168647c18af298ecda0fb2428 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 --- sal/qa/osl/pipe/osl_Pipe.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sal/qa/osl') diff --git a/sal/qa/osl/pipe/osl_Pipe.cxx b/sal/qa/osl/pipe/osl_Pipe.cxx index a2fad9f240d9..af5f94752742 100644 --- a/sal/qa/osl/pipe/osl_Pipe.cxx +++ b/sal/qa/osl/pipe/osl_Pipe.cxx @@ -485,8 +485,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