Use new formatting capabilities

This commit is contained in:
Baruch Burstein 2017-07-04 18:16:42 +03:00
parent 694fe61ae3
commit bb9f2bb3ad

View File

@ -45,7 +45,7 @@ namespace Catch {
Catch::cout() << Text( testCaseInfo.name, nameAttr ) << std::endl; Catch::cout() << Text( testCaseInfo.name, nameAttr ) << std::endl;
if( config.verbosity() >= Verbosity::High ) { if( config.verbosity() >= Verbosity::High ) {
Catch::cout() << " " << testCaseInfo.lineInfo << std::endl; Catch::cout() << Text( testCaseInfo.lineInfo, descAttr ) << std::endl;
std::string description = testCaseInfo.description; std::string description = testCaseInfo.description;
if( description == "" ) if( description == "" )
description = "(NO DESCRIPTION)"; description = "(NO DESCRIPTION)";