From 31e19cdf3dbe980510725ff20e281798f48f36f9 Mon Sep 17 00:00:00 2001 From: khizmax Date: Sat, 15 Nov 2014 13:29:02 +0300 Subject: [PATCH] fix a bug in intrusive tree header test --- tests/test-hdr/tree/hdr_intrusive_bintree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-hdr/tree/hdr_intrusive_bintree.h b/tests/test-hdr/tree/hdr_intrusive_bintree.h index f048f42f..bbc010cc 100644 --- a/tests/test-hdr/tree/hdr_intrusive_bintree.h +++ b/tests/test-hdr/tree/hdr_intrusive_bintree.h @@ -864,7 +864,7 @@ namespace tree { CPPUNIT_ASSERT( ep.empty() ); ep = t.extract_max(); - CPPUNIT_ASSERT( ep.empty()); + CPPUNIT_ASSERT( !ep.empty()); CPPUNIT_CHECK( ep->nKey == v3.nKey ); { typename tree_type::rcu_lock l; -- 2.34.1