mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Replaced some uses of tbc_text_format with TextFlow (from Clara)
This commit is contained in:
		| @@ -23,6 +23,8 @@ | ||||
|  | ||||
| namespace Catch { | ||||
|  | ||||
|     using namespace clara::TextFlow; | ||||
|  | ||||
|     struct TeamCityReporter : StreamingReporterBase { | ||||
|         TeamCityReporter( ReporterConfig const& _config ) | ||||
|         :   StreamingReporterBase( _config ) | ||||
| @@ -194,9 +196,9 @@ namespace Catch { | ||||
|                 i+=2; | ||||
|             else | ||||
|                 i = 0; | ||||
|             os << Text( _string, TextAttributes() | ||||
|                            .setIndent( indent+i) | ||||
|                            .setInitialIndent( indent ) ) << "\n"; | ||||
|             os << Column( _string ) | ||||
|                            .indent( indent+i) | ||||
|                            .initialIndent( indent ) << "\n"; | ||||
|         } | ||||
|     private: | ||||
|         bool m_headerPrintedForThisSection = false; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash