Add test for %debug stream name

This commit is contained in:
Martin Hořeňovský
2022-04-23 23:34:27 +02:00
parent 291b35b389
commit 5baa29b6b9
18 changed files with 74 additions and 14 deletions

View File

@@ -26,3 +26,7 @@ TEST_CASE( "stdout and stderr streams have %-starting name", "[streams]" ) {
TEST_CASE( "request an unknown %-starting stream fails", "[streams]" ) {
REQUIRE_THROWS( Catch::makeStream( "%somestream" ) );
}
TEST_CASE( "makeStream recognizes %debug stream name", "[streams]" ) {
REQUIRE_NOTHROW( Catch::makeStream( "%debug" ) );
}