mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-25 14:09:26 +00:00
stdout retained for all sections
Fixed issue where stdout was dropped between sections
This commit is contained in:
parent
458e5eec16
commit
b13ad46532
6 changed files with 40 additions and 4 deletions
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue