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
730ec39a74c5f9a50d7a9f874bfe866212e0cabc- Author
- Reinhold Gschweicher ·
- Committer
- Martin Hořeňovský
- Parents
71328bae905d
Changes
extras/ParseAndAddCatchTests.cmake | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/extras/ParseAndAddCatchTests.cmake b/extras/ParseAndAddCatchTests.cmake index f4575ec8..3576e6fb 100644 --- a/extras/ParseAndAddCatchTests.cmake +++ b/extras/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})