mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-25 14:09:26 +00:00
Small fixes and started new section tracking code
This commit is contained in:
parent
f3d1f08c3b
commit
372a6c6fed
8 changed files with 294 additions and 13 deletions
|
@ -286,6 +286,8 @@ namespace Catch {
|
|||
exResult << translateActiveException();
|
||||
actOnCurrentResult( exResult.buildResult( m_lastAssertionInfo ) );
|
||||
}
|
||||
// If sections ended prematurely due to an exception we stored their
|
||||
// infos here so we can tear them down outside the unwind process.
|
||||
for( std::vector<UnfinishedSections>::const_iterator it = m_unfinishedSections.begin(),
|
||||
itEnd = m_unfinishedSections.end();
|
||||
it != itEnd;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue