mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-25 14:09:26 +00:00
Section no longer relies on copy-elision for correctness
- should address #293 - *may* address #271
This commit is contained in:
parent
a469d9bc0f
commit
23181eeef0
7 changed files with 36 additions and 29 deletions
|
@ -219,7 +219,7 @@ namespace Catch {
|
|||
|
||||
void runCurrentTest( std::string& redirectedCout, std::string& redirectedCerr ) {
|
||||
TestCaseInfo const& testCaseInfo = m_activeTestCase->getTestCaseInfo();
|
||||
SectionInfo testCaseSection( testCaseInfo.name, testCaseInfo.description, testCaseInfo.lineInfo );
|
||||
SectionInfo testCaseSection( testCaseInfo.lineInfo, testCaseInfo.name, testCaseInfo.description );
|
||||
m_reporter->sectionStarting( testCaseSection );
|
||||
Counts prevAssertions = m_totals.assertions;
|
||||
double duration = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue