catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Fix indentation in ParseAndAddCatchTests
- Commit
2d30df3500b917c2d662a6561948a8dba20a4c8b- Author
- Reinhold Gschweicher ·
- Committer
- Martin Hořeňovský
- Parents
77b2a7daead5
Changes
contrib/ParseAndAddCatchTests.cmake | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/ParseAndAddCatchTests.cmake b/contrib/ParseAndAddCatchTests.cmake index f4575ec8..3576e6fb 100644 --- a/contrib/ParseAndAddCatchTests.cmake +++ b/contrib/ParseAndAddCatchTests.cmake @@ -198,10 +198,10 @@ function(ParseAndAddCatchTests_ParseFile SourceFile TestTarget) set(CTestName "\"${CTestName}\"") endif() - # Handle template test cases - if("${TestTypeAndFixture}" MATCHES ".*TEMPLATE_.*") - set(Name "${Name} - *") - endif() + # Handle template test cases + if("${TestTypeAndFixture}" MATCHES ".*TEMPLATE_.*") + set(Name "${Name} - *") + endif() # Add the test and set its properties add_test(NAME "${CTestName}" COMMAND ${OptionalCatchTestLauncher} $<TARGET_FILE:${TestTarget}> ${Name} ${AdditionalCatchParameters})