Refactoring

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@666 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2013-05-21 11:10:34 +00:00
parent c697b48802
commit bd2fc97bb9
3 changed files with 15 additions and 7 deletions

View file

@ -466,6 +466,12 @@ BOOST_FIXTURE_TEST_CASE( triggering_an_expectation_returns_the_set_value, error_
BOOST_CHECK_EQUAL( 0, f() );
CHECK_CALLS( 1 );
}
{
mock::detail::function< unsigned int() > f;
f.expect().returns( 0 );
BOOST_CHECK_EQUAL( 0u, f() );
CHECK_CALLS( 1 );
}
}
namespace