mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-20 19:45:40 +02:00
Removed all (that I could find) redundant second macro args to TEST_CASE and SECTION
- now we can rely on variadic macros
This commit is contained in:
@@ -59,7 +59,7 @@ TEST_CASE( "An unchecked exception reports the line of the last assertion", "[.]
|
||||
|
||||
TEST_CASE( "When unchecked exceptions are thrown from sections they are always failures", "[.][failing][!throws]" )
|
||||
{
|
||||
SECTION( "section name", "" )
|
||||
SECTION( "section name" )
|
||||
{
|
||||
if( Catch::alwaysTrue() )
|
||||
throw std::domain_error( "unexpected exception" );
|
||||
|
Reference in New Issue
Block a user