mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 05:16:10 +01:00
reports test case if stdout/ stderr written to, even if it succeeded
This commit is contained in:
parent
f9cc21a174
commit
cc0ed3a988
@ -236,10 +236,16 @@ namespace Catch
|
||||
)
|
||||
{
|
||||
if( !stdOut.empty() )
|
||||
{
|
||||
StartSpansLazily();
|
||||
m_config.stream() << "[stdout: " << trim( stdOut ) << "]\n";
|
||||
}
|
||||
|
||||
if( !stdErr.empty() )
|
||||
{
|
||||
StartSpansLazily();
|
||||
m_config.stream() << "[stderr: " << trim( stdErr ) << "]\n";
|
||||
}
|
||||
|
||||
if( m_testSpan.emitted )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user