coroutine: fix unit-test (error_code + errc)

[SVN r85156]
This commit is contained in:
Oliver Kowalke
2013-07-25 07:21:21 +00:00
parent 77a880ed4b
commit 25b1d071e1

View File

@@ -525,8 +525,6 @@ void test_invalid_result()
}
catch ( coro::invalid_result const& e)
{
boost::system::error_code ec = e.code();
BOOST_CHECK_EQUAL( coro::coroutine_errc::no_data, ec.value());
catched = true;
}
BOOST_CHECK( catched);