Fix for GitHub Issue #66

SECTIONs distinguished by name as well as file/ line
This commit is contained in:
Phil Nash 2011-12-28 10:33:54 +00:00
parent 07ff5f39fd
commit 7c94aef660
1 changed files with 1 additions and 1 deletions

View File

@ -487,7 +487,7 @@ namespace Catch
)
{
std::ostringstream oss;
oss << filename << ":" << line;
oss << name << "@" << filename << ":" << line;
if( !m_runningTest->addSection( oss.str() ) )
return false;