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:
Phil Nash
2017-07-13 09:20:37 +01:00
parent c89bdf842e
commit f193698fb3
9 changed files with 140 additions and 204 deletions

View File

@@ -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" );