reformatted benchmark output a bit

This commit is contained in:
Phil Nash
2017-08-09 23:27:29 +01:00
parent eed4ae86ad
commit 1aab791d67
2 changed files with 4 additions and 16 deletions

View File

@@ -259,16 +259,6 @@ namespace Catch {
}
return line;
}
inline char const* getBoxCharsAcross() {
static char line[CATCH_CONFIG_CONSOLE_WIDTH] = {0};
if( !*line ) {
std::memset( line, '-', CATCH_CONFIG_CONSOLE_WIDTH-1 );
line[CATCH_CONFIG_CONSOLE_WIDTH-1] = 0;
line[0] = '+';
line[CATCH_CONFIG_CONSOLE_WIDTH-2] = '+';
}
return line;
}
struct TestEventListenerBase : StreamingReporterBase<TestEventListenerBase> {