mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00
Added SCOPED_CAPTURE
This commit is contained in:
@@ -76,7 +76,8 @@ TEST_CASE( "./mixed/message/scoped", "" )
|
||||
{
|
||||
for( int i=0; i<100; i++ )
|
||||
{
|
||||
SCOPED_INFO( "current counter " << i );
|
||||
REQUIRE( i < 10 );
|
||||
SCOPED_INFO( "current counter " << i );
|
||||
SCOPED_CAPTURE( i );
|
||||
REQUIRE( i < 10 );
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user