mirror of
https://github.com/boostorg/core.git
synced 2025-08-11 18:54:59 +02:00
Add report_errors_remind to some passing tests.
This commit is contained in:
@@ -90,6 +90,7 @@ template<class T, class U> inline void test_eq_impl( char const * expr1, char co
|
|||||||
{
|
{
|
||||||
if( t == u )
|
if( t == u )
|
||||||
{
|
{
|
||||||
|
report_errors_remind();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -106,6 +107,7 @@ template<class T, class U> inline void test_ne_impl( char const * expr1, char co
|
|||||||
{
|
{
|
||||||
if( t != u )
|
if( t != u )
|
||||||
{
|
{
|
||||||
|
report_errors_remind();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@@ -31,6 +31,7 @@ template< class T > inline void test_trait_impl( char const * trait, void (*)( T
|
|||||||
{
|
{
|
||||||
if( T::value == expected )
|
if( T::value == expected )
|
||||||
{
|
{
|
||||||
|
report_errors_remind();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -41,7 +42,7 @@ template< class T > inline void test_trait_impl( char const * trait, void (*)( T
|
|||||||
<< "' (should have been " << ( expected? "true": "false" ) << ")"
|
<< "' (should have been " << ( expected? "true": "false" ) << ")"
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
|
|
||||||
++boost::detail::test_errors();
|
++test_errors();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user