forked from boostorg/smart_ptr
Add more tests; fix errors
This commit is contained in:
1 parent
052ebd1946
commit
fb17bf685e
9 files changed
+321
-8
No files matched your search
@@ -1929,7 +1929,7 @@ template<class T, class U> static void test_deleter_reset( boost::local_shared_p
|
||||
|
||||
boost::shared_ptr<U> p3( p2 );
|
||||
|
||||
// BOOST_TEST( boost::get_deleter< deleter<T> >( p3 ) != 0 );
|
||||
BOOST_TEST( boost::get_deleter< deleter<T> >( p3 ) != 0 );
|
||||
|
||||
p3.reset();
|
||||
BOOST_TEST( !called );
|
||||
@@ -2010,7 +2010,7 @@ template<class T, class U> static void test_allocator_reset( boost::local_shared
|
||||
|
||||
boost::shared_ptr<U> p3( p2 );
|
||||
|
||||
// BOOST_TEST( boost::get_deleter< deleter<T> >( p3 ) != 0 );
|
||||
BOOST_TEST( boost::get_deleter< deleter<T> >( p3 ) != 0 );
|
||||
|
||||
p3.reset();
|
||||
BOOST_TEST( !called );
|
||||
|
||||
Reference in new issue
Block a user