mirror of
https://github.com/catchorg/Catch2.git
synced 2025-03-09 21:24:46 +01:00

When PARSE_CATCH_TESTS_ADD_TARGET_IN_TEST_NAME is enabled the cmake helper script fails to extract the testcase name if a whitespace is before the name string. Use regex to consider and remove this whitespace. fix by Mike-Devel fixes: https://github.com/catchorg/Catch2/issues/1493