Fix wrapping width when listing tests

- addresses #201
This commit is contained in:
Phil Nash 2013-10-02 08:07:52 +01:00
parent b9c6d30631
commit 0b097c26b6

View File

@ -58,7 +58,7 @@ namespace Catch {
matchedTests++; matchedTests++;
Text nameWrapper( it->getTestCaseInfo().name, Text nameWrapper( it->getTestCaseInfo().name,
TextAttributes() TextAttributes()
.setWidth( maxNameLen ) .setWidth( maxNameLen+2 )
.setInitialIndent(2) .setInitialIndent(2)
.setIndent(4) ); .setIndent(4) );