mirror of
https://github.com/catchorg/Catch2.git
synced 2025-12-23 02:12:11 +01: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 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user