mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
"notok" -> "not ok"
This commit is contained in:
parent
d21f78edf1
commit
66a046469a
1 changed files with 2 additions and 2 deletions
|
|
@ -439,8 +439,8 @@ BOOST_AUTO_TEST_CASE( demonstrates_configuring_mock_objects )
|
||||||
MOCK_EXPECT( c.method2 ).never().with( "ok", mock::any );
|
MOCK_EXPECT( c.method2 ).never().with( "ok", mock::any );
|
||||||
MOCK_EXPECT( c.method2 ).at_least( 2 ).in( s ).throws( std::runtime_error( "error !" ) );
|
MOCK_EXPECT( c.method2 ).at_least( 2 ).in( s ).throws( std::runtime_error( "error !" ) );
|
||||||
BOOST_CHECK(c.method(0) == 42);
|
BOOST_CHECK(c.method(0) == 42);
|
||||||
BOOST_CHECK_THROW(c.method("notok", 1.f), std::runtime_error);
|
BOOST_CHECK_THROW(c.method("not ok", 1.f), std::runtime_error);
|
||||||
BOOST_CHECK_THROW(c.method("notok", 2.f), std::runtime_error);
|
BOOST_CHECK_THROW(c.method("not ok", 2.f), std::runtime_error);
|
||||||
}
|
}
|
||||||
//]
|
//]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue