Fix output for different versions of VS

This commit is contained in:
Malcolm Noyes
2013-12-10 15:28:49 +00:00
parent 8774268140
commit f52050c336
5 changed files with 44 additions and 15 deletions

View File

@@ -119,7 +119,11 @@ namespace Catch {
: VSStreamingReporterBase( _config ),
m_prevCout( std::cout.rdbuf() ),
m_prevCerr( std::cerr.rdbuf() ),
#if defined(INTERNAL_CATCH_VS_NATIVE) || _MSC_VER >= 1700
m_addLineFeeds(false),
#else
m_addLineFeeds(true),
#endif
m_headerPrinted( false ),
m_atLeastOneTestCasePrinted( false )
{