Added -l tags

- which lists available tags.
- also improved formatting of -l for tests
This commit is contained in:
Phil Nash committed 2013-03-29 11:42:10 +00:00
1 parent d0df295c25
commit e324d2829d
7 files changed
+710 -147

No files matched your search

+1 -1
View File
@@ -66,7 +66,7 @@ namespace Catch {
std::string withoutTab = _str.substr( 0, nextTab ) + _str.substr( nextTab+1 );
return wrapInternal( withoutTab );
}
else if( isWrapPoint( _str[pos] ) ) {
else if( pos > 0 && isWrapPoint( _str[pos] ) ) {
wrapPoint = pos;
}
}