diff options
| author | Martin Hořeňovský | 2022-04-23 23:34:27 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2022-04-23 23:34:27 +0200 |
| commit | 5baa29b6b9405913455ba5f628679575c7b915ee (patch) | |
| tree | 662605879991aa78f7f939d8a2c865ccb880d7b3 /tests/SelfTest/IntrospectiveTests/Stream.tests.cpp | |
| parent | 291b35b389b8e6d7b560cf7e43b6c72c4b73e522 (diff) | |
| download | catch3-5baa29b6b9405913455ba5f628679575c7b915ee.tar.gz | |
Add test for %debug stream name
Diffstat (limited to 'tests/SelfTest/IntrospectiveTests/Stream.tests.cpp')
| -rw-r--r-- | tests/SelfTest/IntrospectiveTests/Stream.tests.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/SelfTest/IntrospectiveTests/Stream.tests.cpp b/tests/SelfTest/IntrospectiveTests/Stream.tests.cpp index 5ad92e8c..6b1d377c 100644 --- a/tests/SelfTest/IntrospectiveTests/Stream.tests.cpp +++ b/tests/SelfTest/IntrospectiveTests/Stream.tests.cpp @@ -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" ) ); +} |