mirror of
https://github.com/boostorg/fiber.git
synced 2026-02-12 12:02:54 +00:00
test_try_push() should call try_push().
This commit is contained in:
@@ -101,7 +101,7 @@ void test_try_push()
|
||||
{
|
||||
boost::fibers::bounded_channel< int > c( 1);
|
||||
BOOST_CHECK( c.is_empty() );
|
||||
BOOST_CHECK( boost::fibers::channel_op_status::success == c.push( 1) );
|
||||
BOOST_CHECK( boost::fibers::channel_op_status::success == c.try_push( 1) );
|
||||
BOOST_CHECK( ! c.is_empty() );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user