mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-31 00:47:56 +00:00
Removed "long text" test (not a limitation of TextFlow)
This commit is contained in:
parent
224250e2d4
commit
d3c7d424fe
5 changed files with 7 additions and 2042 deletions
|
@ -465,17 +465,6 @@ TEST_CASE( "Text can be formatted using the Text class" ) {
|
|||
CHECK( Text( "hi there", narrow ).toString() == "hi\nthere" );
|
||||
}
|
||||
|
||||
TEST_CASE( "Long text is truncated", "[Text][Truncated]" ) {
|
||||
|
||||
std::string longLine( 90, '*' );
|
||||
|
||||
std::ostringstream oss;
|
||||
for(int i = 0; i < 600; ++i )
|
||||
oss << longLine << longLine << "\n";
|
||||
Text t( oss.str() );
|
||||
CHECK_THAT( t.toString(), EndsWith( "... message truncated due to excessive size" ) );
|
||||
|
||||
}
|
||||
|
||||
inline void manuallyRegisteredTestFunction() {
|
||||
SUCCEED( "was called" );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue