git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@191 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2011-01-15 11:24:52 +00:00
parent f4ceb3cdfc
commit 6e8ed29462
3 changed files with 25 additions and 17 deletions

View file

@ -557,7 +557,7 @@ BOOST_FIXTURE_TEST_CASE( triggering_an_expectation_calls_the_custom_functor_with
BOOST_FIXTURE_TEST_CASE( triggering_an_expectation_throws_the_set_exception, error_fixture )
{
mock::function< void() > f;
mock::function< int() > f;
f.expect().throws( std::runtime_error( "some exception" ) );
try
{