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

summaryrefslogtreecommitdiffhomepage
path: root/include/internal/catch_run_context.cpp
diff options
context:
space:
mode:
authorPhil Nash2017-08-08 17:53:01 +0100
committerPhil Nash2017-08-08 17:53:01 +0100
commitf247ce5bff025281d4a7e9fa76aa78eb8479ddfe (patch)
tree45de7761cc0a728936161d96e785ae397106c72c /include/internal/catch_run_context.cpp
parentf8148ebae1e07c5609ed0af5993694e2972d0dfd (diff)
downloadcatch3-f247ce5bff025281d4a7e9fa76aa78eb8479ddfe.tar.gz
First cut of new AssertionHandler/ Decomposer
- integrated into INTERNAL_CATCH_TEST. Needs more work to fully replace existing stuff
Diffstat (limited to 'include/internal/catch_run_context.cpp')
-rw-r--r--include/internal/catch_run_context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/internal/catch_run_context.cpp b/include/internal/catch_run_context.cpp
index 8b89df9c..509a18e6 100644
--- a/include/internal/catch_run_context.cpp
+++ b/include/internal/catch_run_context.cpp
@@ -192,7 +192,7 @@ namespace Catch {
void RunContext::handleFatalErrorCondition(std::string const & message) {
// Don't rebuild the result -- the stringification itself can cause more fatal errors
// Instead, fake a result data.
- AssertionResultData tempResult;
+ AssertionResultData tempResult( ResultWas::Unknown, { false } );
tempResult.resultType = ResultWas::FatalErrorCondition;
tempResult.message = message;
AssertionResult result(m_lastAssertionInfo, tempResult);