added test for char array with nested null in response to Ticket #471

[SVN r40367]
This commit is contained in:
Thorsten Jørgen Ottosen
2007-10-23 18:36:03 +00:00
parent a862a573df
commit c8ffe55ae5

View File

@ -62,6 +62,8 @@ void check_array()
BOOST_CHECK_EQUAL( end( ca ), ca + size( ca ) );
BOOST_CHECK_EQUAL( empty( ca ),false );
const char A[] = "\0A";
BOOST_CHECK_EQUAL( boost::size(A), 3u );
}
using boost::unit_test::test_suite;