Allows console line width to be configured (and defaults to 80).

Line wrap is at console width-1
This commit is contained in:
Phil Nash
2013-01-26 20:06:55 +00:00
parent 3682433c2f
commit 67ccd8d74a
3 changed files with 338 additions and 337 deletions

View File

@@ -18,6 +18,10 @@
#include <string>
#include <iostream>
#ifndef CATCH_CONFIG_CONSOLE_WIDTH
#define CATCH_CONFIG_CONSOLE_WIDTH 80
#endif
namespace Catch {
struct Include { enum WhichResults {