mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-02 05:15:39 +02:00
More complete fix for nested sections
This commit is contained in:
@@ -59,12 +59,16 @@ TEST_CASE( "./succeeding/Misc/Sections/nested2", "nested SECTION tests" )
|
||||
|
||||
SECTION( "s2", "equal" )
|
||||
{
|
||||
REQUIRE( a == b);
|
||||
REQUIRE( a == b );
|
||||
}
|
||||
|
||||
SECTION( "s3", "not equal" )
|
||||
{
|
||||
REQUIRE( a != b);
|
||||
REQUIRE( a != b );
|
||||
}
|
||||
SECTION( "s4", "less than" )
|
||||
{
|
||||
REQUIRE( b < a );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user