summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-10-04 15:57:42 +0300
committerTor Lillqvist <tlillqvist@suse.com>2011-10-04 16:01:46 +0300
commit6cb6080869c7b527c7325694f8e29c8fa0834358 (patch)
tree57012ddc65cb95eba42e3bf0c406d1b62402a516 /test
parentef689ffaa6075b5203f29b2524643c88e0739a86 (diff)
WaE: '==' : unsafe mix of type 'bool' and type 'test::filterStatus'
Diffstat (limited to 'test')
-rw-r--r--test/source/filters-test.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/filters-test.cxx b/test/source/filters-test.cxx
index 1cb085dc4afc..f36e01494768 100644
--- a/test/source/filters-test.cxx
+++ b/test/source/filters-test.cxx
@@ -125,7 +125,7 @@ void FiltersTest::recursiveScan(const rtl::OUString &rFilter, const rtl::OUStrin
bRes?"Pass":"Fail",nEndTime-nStartTime);
if (nExpected == test::indeterminate)
continue;
- CPPUNIT_ASSERT_MESSAGE(aRes.getStr(), bRes == nExpected);
+ CPPUNIT_ASSERT_MESSAGE(aRes.getStr(), bRes == (nExpected == test::pass));
}
}
CPPUNIT_ASSERT(osl::FileBase::E_None == aDir.close());