diff options
| author | Martin Hořeňovský | 2022-03-21 00:22:54 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2022-03-24 16:02:51 +0100 |
| commit | 4d8acafecb973d9b03178346c3f1566fe7485fb1 (patch) | |
| tree | 9d3ffd8440bdc530785e81e1a140c0738d9e8f8c /tests/SelfTest/IntrospectiveTests/Stream.tests.cpp | |
| parent | cf6dd937ab2ff62d29b34d62411cfd03d3822021 (diff) | |
| download | catch3-4d8acafecb973d9b03178346c3f1566fe7485fb1.tar.gz | |
Rename isStdout => isConsole and add doccomment
Diffstat (limited to 'tests/SelfTest/IntrospectiveTests/Stream.tests.cpp')
| -rw-r--r-- | tests/SelfTest/IntrospectiveTests/Stream.tests.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/SelfTest/IntrospectiveTests/Stream.tests.cpp b/tests/SelfTest/IntrospectiveTests/Stream.tests.cpp index 4ba08ee5..9d647b0d 100644 --- a/tests/SelfTest/IntrospectiveTests/Stream.tests.cpp +++ b/tests/SelfTest/IntrospectiveTests/Stream.tests.cpp @@ -11,16 +11,16 @@ #include <catch2/internal/catch_stream.hpp> TEST_CASE( "Cout stream properly declares it writes to stdout", "[streams]" ) { - REQUIRE( Catch::makeStream( "-" )->isStdout() ); + REQUIRE( Catch::makeStream( "-" )->isConsole() ); } TEST_CASE( "Empty stream name opens cout stream", "[streams]" ) { - REQUIRE( Catch::makeStream( "" )->isStdout() ); + REQUIRE( Catch::makeStream( "" )->isConsole() ); } TEST_CASE( "stdout and stderr streams have %-starting name", "[streams]" ) { - REQUIRE( Catch::makeStream( "%stderr" )->isStdout() ); - REQUIRE( Catch::makeStream( "%stdout" )->isStdout() ); + REQUIRE( Catch::makeStream( "%stderr" )->isConsole() ); + REQUIRE( Catch::makeStream( "%stdout" )->isConsole() ); } TEST_CASE( "request an unknown %-starting stream fails", "[streams]" ) { |