externals: Update catch2 to v3.5.0

Merge commit 'ba06a404d1437c73ed3ba100d04a217fa69545b8'
This commit is contained in:
Yang Liu
2023-12-31 14:00:46 +08:00
272 changed files with 22238 additions and 7949 deletions

View File

@@ -217,6 +217,18 @@ TEST_CASE("Testing checked-if 3", "[checked-if][!shouldfail]") {
SUCCEED();
}
[[noreturn]]
TEST_CASE("Testing checked-if 4", "[checked-if][!shouldfail]") {
CHECKED_ELSE(true) {}
throw std::runtime_error("Uncaught exception should fail!");
}
[[noreturn]]
TEST_CASE("Testing checked-if 5", "[checked-if][!shouldfail]") {
CHECKED_ELSE(false) {}
throw std::runtime_error("Uncaught exception should fail!");
}
TEST_CASE( "xmlentitycheck" ) {
SECTION( "embedded xml: <test>it should be possible to embed xml characters, such as <, \" or &, or even whole <xml>documents</xml> within an attribute</test>" ) {
SUCCEED(); // We need this here to stop it failing due to no tests