mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-03 22:05:39 +02:00
Add %stderr and %stdout as recognized magic stream names
This commit is contained in:
@@ -16439,6 +16439,15 @@ StringManip.tests.cpp:<line number>: PASSED:
|
||||
with expansion:
|
||||
"didn|'t" == "didn|'t"
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
request an unknown %-starting stream fails
|
||||
-------------------------------------------------------------------------------
|
||||
Stream.tests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
Stream.tests.cpp:<line number>: PASSED:
|
||||
REQUIRE_THROWS( Catch::makeStream( "%somestream" ) )
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
resolution
|
||||
-------------------------------------------------------------------------------
|
||||
@@ -16835,6 +16844,22 @@ with expansion:
|
||||
==
|
||||
"{ { "green", 55 } }"
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
stdout and stderr streams have %-starting name
|
||||
-------------------------------------------------------------------------------
|
||||
Stream.tests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
Stream.tests.cpp:<line number>: PASSED:
|
||||
REQUIRE( Catch::makeStream( "%stderr" )->isStdout() )
|
||||
with expansion:
|
||||
true
|
||||
|
||||
Stream.tests.cpp:<line number>: PASSED:
|
||||
REQUIRE( Catch::makeStream( "%stdout" )->isStdout() )
|
||||
with expansion:
|
||||
true
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
stringify ranges
|
||||
-------------------------------------------------------------------------------
|
||||
@@ -17778,6 +17803,6 @@ Misc.tests.cpp:<line number>
|
||||
Misc.tests.cpp:<line number>: PASSED:
|
||||
|
||||
===============================================================================
|
||||
test cases: 383 | 293 passed | 83 failed | 7 failed as expected
|
||||
assertions: 2228 | 2058 passed | 143 failed | 27 failed as expected
|
||||
test cases: 385 | 295 passed | 83 failed | 7 failed as expected
|
||||
assertions: 2231 | 2061 passed | 143 failed | 27 failed as expected
|
||||
|
||||
|
Reference in New Issue
Block a user