Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/projects/SelfTest/TestMain.cpp
diff options
context:
space:
mode:
authorPhil Nash2017-07-20 23:04:34 +0100
committerPhil Nash2017-07-20 23:04:34 +0100
commitd3c7d424fede6e7832931846b232586ea00810c4 (patch)
treef2f1a101970a77809c88168754942c67a43d605f /projects/SelfTest/TestMain.cpp
parent224250e2d48c7f660e4ea55aab78350ef618a18a (diff)
downloadcatch3-d3c7d424fede6e7832931846b232586ea00810c4.tar.gz
Removed "long text" test (not a limitation of TextFlow)
Diffstat (limited to 'projects/SelfTest/TestMain.cpp')
-rw-r--r--projects/SelfTest/TestMain.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/projects/SelfTest/TestMain.cpp b/projects/SelfTest/TestMain.cpp
index 10a2ae4d..59fe2db5 100644
--- a/projects/SelfTest/TestMain.cpp
+++ b/projects/SelfTest/TestMain.cpp
@@ -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" );