mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00
stdout retained for all sections
Fixed issue where stdout was dropped between sections
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/*
|
||||
/*
|
||||
* catch_runner.hpp
|
||||
* Catch
|
||||
*
|
||||
@@ -45,7 +45,7 @@ namespace Catch
|
||||
~StreamRedirect
|
||||
()
|
||||
{
|
||||
m_targetString = m_oss.str();
|
||||
m_targetString += m_oss.str();
|
||||
m_stream.rdbuf( m_prevBuf );
|
||||
}
|
||||
|
||||
|
@@ -74,7 +74,6 @@ namespace Catch
|
||||
if( testSpec.matches( it->getName() ) )
|
||||
{
|
||||
testList.push_back( *it );
|
||||
std::cout << it->getName() << std::endl;
|
||||
}
|
||||
}
|
||||
return testList;
|
||||
|
Reference in New Issue
Block a user