Add a hack to the Catch header to shorten test case output filenames
This commit is contained in:
@@ -7044,7 +7044,9 @@ namespace Catch {
|
||||
SourceLineInfo::SourceLineInfo( char const* _file, std::size_t _line )
|
||||
: file( _file ),
|
||||
line( _line )
|
||||
{}
|
||||
{
|
||||
file = file.substr(file.find("../") + 2);
|
||||
}
|
||||
SourceLineInfo::SourceLineInfo( SourceLineInfo const& other )
|
||||
: file( other.file ),
|
||||
line( other.line )
|
||||
|
Reference in New Issue
Block a user