mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 07:16:10 +01:00
Changed stdout/ stderr messages to be less misleading
This commit is contained in:
parent
eb760f689b
commit
fb90d38310
@ -569,8 +569,8 @@ with expansion:
|
||||
with message:
|
||||
Testing if fib[7] (21) is even
|
||||
|
||||
Some information
|
||||
An error
|
||||
A string sent directly to stdout
|
||||
A string sent directly to stderr
|
||||
-------------------------------------------------------------------------------
|
||||
checkedIf, failing
|
||||
-------------------------------------------------------------------------------
|
||||
|
@ -3014,8 +3014,8 @@ with expansion:
|
||||
with message:
|
||||
Testing if fib[7] (21) is even
|
||||
|
||||
Some information
|
||||
An error
|
||||
A string sent directly to stdout
|
||||
A string sent directly to stderr
|
||||
-------------------------------------------------------------------------------
|
||||
Sends stuff to stdout and stderr
|
||||
-------------------------------------------------------------------------------
|
||||
|
@ -351,10 +351,10 @@ MiscTests.cpp:<line number>
|
||||
</testcase>
|
||||
<testcase classname="global" name="Sends stuff to stdout and stderr" time="{duration}">
|
||||
<system-out>
|
||||
Some information
|
||||
A string sent directly to stdout
|
||||
</system-out>
|
||||
<system-err>
|
||||
An error
|
||||
A string sent directly to stderr
|
||||
</system-err>
|
||||
</testcase>
|
||||
<testcase classname="global" name="null strings" time="{duration}"/>
|
||||
@ -550,12 +550,12 @@ TrickyTests.cpp:<line number>
|
||||
<system-out>
|
||||
Message from section one
|
||||
Message from section two
|
||||
Some information
|
||||
A string sent directly to stdout
|
||||
hello
|
||||
hello
|
||||
</system-out>
|
||||
<system-err>
|
||||
An error
|
||||
A string sent directly to stderr
|
||||
</system-err>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
|
@ -113,9 +113,9 @@ TEST_CASE( "looped tests", "[.][failing]" )
|
||||
|
||||
TEST_CASE( "Sends stuff to stdout and stderr", "" )
|
||||
{
|
||||
std::cout << "Some information" << std::endl;
|
||||
std::cout << "A string sent directly to stdout" << std::endl;
|
||||
|
||||
std::cerr << "An error" << std::endl;
|
||||
std::cerr << "A string sent directly to stderr" << std::endl;
|
||||
}
|
||||
|
||||
inline const char* makeString( bool makeNull )
|
||||
|
Loading…
Reference in New Issue
Block a user