mirror of
https://github.com/boostorg/system.git
synced 2026-05-04 20:04:16 +02:00
Add tests for failed()
This commit is contained in:
@@ -30,5 +30,10 @@ int main()
|
||||
|
||||
#endif
|
||||
|
||||
// failed
|
||||
BOOST_TEST( !cat.failed( 0 ) );
|
||||
BOOST_TEST( cat.failed( 5 ) );
|
||||
BOOST_TEST( cat.failed( -1 ) );
|
||||
|
||||
return boost::report_errors();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user