From b6f4fc8d4271f3d2d84cb1a16b68e80713af839f Mon Sep 17 00:00:00 2001 From: Nat Goodspeed Date: Wed, 5 Aug 2015 07:51:49 -0400 Subject: [PATCH] test_try_push() should call try_push(). --- test/test_bounded_channel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_bounded_channel.cpp b/test/test_bounded_channel.cpp index a78d39a3..1501bbe0 100644 --- a/test/test_bounded_channel.cpp +++ b/test/test_bounded_channel.cpp @@ -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() ); }