Tweaked indentation of errors and test lists

This commit is contained in:
Phil Nash 2013-06-07 19:06:30 +01:00
parent 27cae858d0
commit 11381c146c
3 changed files with 28 additions and 18 deletions

View file

@ -151,7 +151,10 @@ namespace Catch {
}
catch( std::exception& ex ) {
std::cerr << "\nError in input:\n"
<< " " << ex.what() << "\n\n";
<< Text( ex.what(), TextAttributes()
.setInitialIndent(2)
.setIndent(4) )
<< "\n\n";
m_cli.usage( std::cout, m_configData.processName );
return (std::numeric_limits<int>::max)();
}