summaryrefslogtreecommitdiff
path: root/test/source/util
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-04-28 14:22:36 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-04-28 14:22:36 +0200
commitff1b46c6fee5f6d1259eb29254782688b4dccb32 (patch)
tree443160f152eb175a5de176ee04a9e262b3811430 /test/source/util
parent73463243129243fa71af7b1685ce9df838cfe9e7 (diff)
loplugin:cppunitassertequals: test
Change-Id: I3357b7502fcf9a45095919157ca1530e10c14dd0
Diffstat (limited to 'test/source/util')
-rw-r--r--test/source/util/xsearchable.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/util/xsearchable.cxx b/test/source/util/xsearchable.cxx
index 91006e18118a..c58be12eb971 100644
--- a/test/source/util/xsearchable.cxx
+++ b/test/source/util/xsearchable.cxx
@@ -27,7 +27,7 @@ void XSearchable::testFindAll()
uno::Reference< container::XIndexAccess > xIndex = xSearchable->findAll(xSearchDescr);
CPPUNIT_ASSERT(xIndex.is());
- CPPUNIT_ASSERT(xIndex->getCount() == mnCount);
+ CPPUNIT_ASSERT_EQUAL(mnCount, xIndex->getCount());
}
void XSearchable::testFindFirst()