git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@449 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2012-05-08 14:33:07 +00:00
parent 8a572c34f9
commit 8bbf00599c

View file

@ -734,7 +734,7 @@ BOOST_FIXTURE_TEST_CASE( triggering_unexpected_call_call_disables_the_automatic_
CHECK_ERROR( f(), unexpected_call, 0, "?()" ); CHECK_ERROR( f(), unexpected_call, 0, "?()" );
} }
BOOST_FIXTURE_TEST_CASE( adding_a_expectation_reactivates_the_verification_upon_destruction, error_fixture ) BOOST_FIXTURE_TEST_CASE( adding_an_expectation_reactivates_the_verification_upon_destruction, error_fixture )
{ {
std::auto_ptr< mock::function< void() > > f( new mock::function< void() > ); std::auto_ptr< mock::function< void() > > f( new mock::function< void() > );
CHECK_ERROR( (*f)(), unexpected_call, 0, "?()" ); CHECK_ERROR( (*f)(), unexpected_call, 0, "?()" );