Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/extras
diff options
context:
space:
mode:
authorMartin Hořeňovský2026-07-29 10:05:39 +0200
committerMartin Hořeňovský2026-08-07 23:07:46 +0200
commit0b4d7a5a1696dbdfb23fccad8c50db9dc9a417ea (patch)
treeaf1ee599454f1b28220c2c78c5e22ea16200b942 /extras
parenta0eba50e9d56c743aff1de7a50d02a6e01e73cdc (diff)
downloadcatch3-0b4d7a5a1696dbdfb23fccad8c50db9dc9a417ea.tar.gz
JSONReporter's listTests only lists class-name if it is non-empty
Diffstat (limited to 'extras')
-rw-r--r--extras/CatchAddTests.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/CatchAddTests.cmake b/extras/CatchAddTests.cmake
index 59a39c70..b0d8c02b 100644
--- a/extras/CatchAddTests.cmake
+++ b/extras/CatchAddTests.cmake
@@ -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()