2
0
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:
Nat Goodspeed
2015-08-05 07:51:49 -04:00
parent 1897a2a9fc
commit b6f4fc8d42

View File

@@ -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() );
}