Fix names

This commit is contained in:
Alexander Grund 2018-11-16 08:35:53 +01:00
parent 2a1623ee35
commit 72518b6297
6 changed files with 12 additions and 12 deletions

View file

@ -907,8 +907,8 @@ BOOST_FIXTURE_TEST_CASE( adding_file_and_line_number_information, mock_error_fix
mock::detail::function< void() > f;
f.expect( "file name", 42 ).once();
CHECK_ERROR( f.verify(), "verification failed", 0, "?\n. once()" );
BOOST_CHECK_EQUAL( "file name", mock_error_data.last_file );
BOOST_CHECK_EQUAL( 42, mock_error_data.last_line );
BOOST_CHECK_EQUAL( "file name", mock_error_data::inst().last_file );
BOOST_CHECK_EQUAL( 42, mock_error_data::inst().last_line );
}
#ifdef MOCK_THREAD_SAFE