mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Added support for several sequences in 'in'
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@635 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
4ee2837dcd
commit
8d2fb9c94c
6 changed files with 34 additions and 15 deletions
|
|
@ -94,7 +94,7 @@ BOOST_AUTO_TEST_CASE( an_expectation_can_be_used_in_several_sequences )
|
|||
{
|
||||
mock::sequence s1, s2;
|
||||
mock::detail::function< void() > e;
|
||||
e.expect().once().in( s1 ).in( s2 );
|
||||
e.expect().once().in( s1, s2 );
|
||||
BOOST_CHECK_NO_THROW( e() );
|
||||
BOOST_CHECK( e.verify() );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue