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

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorPhil Nash2017-07-20 19:50:47 +0100
committerPhil Nash2017-07-20 20:10:13 +0100
commit224250e2d48c7f660e4ea55aab78350ef618a18a (patch)
tree083817a04c17c7571961743f9329f9a93e74be4d /include
parent5c3355ad1b6d5ed57df7f0da73dfe086500a4ef2 (diff)
downloadcatch3-224250e2d48c7f660e4ea55aab78350ef618a18a.tar.gz
listTests now only uses TextFlow (not tbd_text_format) again
Diffstat (limited to 'include')
-rw-r--r--include/internal/catch_list.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/include/internal/catch_list.cpp b/include/internal/catch_list.cpp
index 1d5f9e49..c7e90693 100644
--- a/include/internal/catch_list.cpp
+++ b/include/internal/catch_list.cpp
@@ -12,12 +12,11 @@
#include "catch_interfaces_reporter.h"
#include "catch_interfaces_testcase.h"
-#include "catch_text.h"
-
#include "catch_clara.h" // For TextFlow
#include "catch_console_colour.hpp"
#include "catch_test_spec_parser.hpp"
+#include "catch_tostring.h"
#include <limits>
#include <algorithm>
@@ -45,13 +44,11 @@ namespace Catch {
Catch::cout() << Column( testCaseInfo.name ).initialIndent( 2 ).indent( 4 ) << "\n";
if( config.verbosity() >= Verbosity::High ) {
- TextAttributes descAttr;
- descAttr.setIndent( 4 );
- Catch::cout() << Text( testCaseInfo.lineInfo, descAttr ) << std::endl;
+ Catch::cout() << Column( Catch::Detail::stringify( testCaseInfo.lineInfo ) ).indent(4) << std::endl;
std::string description = testCaseInfo.description;
if( description == "" )
description = "(NO DESCRIPTION)";
- Catch::cout() << Text( description, descAttr ) << std::endl;
+ Catch::cout() << Column( description ).indent(4) << std::endl;
}
if( !testCaseInfo.tags.empty() )
Catch::cout() << Column( testCaseInfo.tagsAsString ).indent( 6 ) << "\n";