diff options
| author | Martin Hořeňovský | 2025-08-09 00:30:23 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2025-08-09 00:30:23 +0200 |
| commit | 644821ce28cb25d7992a4d0375b1d83214392592 (patch) | |
| tree | e1fd5abc1359d1f444f5e2db144622751802b5a1 /extras/catch_amalgamated.cpp | |
| parent | 03c62cdf2ede08ee759008637adf5d8e5581b77b (diff) | |
| download | catch3-3.9.1.tar.gz | |
v3.9.1v3.9.1
Diffstat (limited to 'extras/catch_amalgamated.cpp')
| -rw-r--r-- | extras/catch_amalgamated.cpp | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/extras/catch_amalgamated.cpp b/extras/catch_amalgamated.cpp index 3a9cd757..79ec8d1a 100644 --- a/extras/catch_amalgamated.cpp +++ b/extras/catch_amalgamated.cpp @@ -6,8 +6,8 @@ // SPDX-License-Identifier: BSL-1.0 -// Catch v3.9.0 -// Generated: 2025-07-24 22:00:25.173359 +// Catch v3.9.1 +// Generated: 2025-08-09 00:29:21.552225 // ---------------------------------------------------------- // This file is an amalgamation of multiple different files. // You probably shouldn't edit it directly. @@ -2026,6 +2026,13 @@ namespace Detail { rss << std::setw(2) << static_cast<unsigned>(bytes[i]); return rss.str(); } + + std::string makeExceptionHappenedString() { + return "{ stringification failed with an exception: \"" + + translateActiveException() + "\" }"; + + } + } // end Detail namespace @@ -2271,7 +2278,7 @@ namespace Catch { } Version const& libraryVersion() { - static Version version( 3, 9, 0, "", 0 ); + static Version version( 3, 9, 1, "", 0 ); return version; } @@ -3981,10 +3988,10 @@ namespace Catch { // To avoid having to handle TFE explicitly everywhere, we just // rethrow it so that it goes back up the caller. catch( TestFailureException& ) { - std::rethrow_exception(std::current_exception()); + return "{ nested assertion failed }"; } catch( TestSkipException& ) { - std::rethrow_exception(std::current_exception()); + return "{ nested SKIP() called }"; } catch( std::exception const& ex ) { return ex.what(); |