JSONReporter's listTests only lists class-name if it is non-empty

This commit is contained in:
Martin Hořeňovský committed 2026-08-07 23:07:46 +02:00
1 parent a0eba50e9d
commit 0b4d7a5a16
12 files changed
+33 -44

No files matched your search

+1 -1
View File
@@ -326,7 +326,7 @@ function(catch_discover_tests_impl)
# Parse JSON output for list of tests/class names/tags
string(JSON version GET "${listing_output}" "version")
if(NOT version STREQUAL "1")
if(NOT version STREQUAL "2")
message(FATAL_ERROR "Unsupported catch output version: '${version}'")
endif()