mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
Fix for GitHub Issue #66
SECTIONs distinguished by name as well as file/ line
This commit is contained in:
parent
07ff5f39fd
commit
7c94aef660
@ -487,7 +487,7 @@ namespace Catch
|
|||||||
)
|
)
|
||||||
{
|
{
|
||||||
std::ostringstream oss;
|
std::ostringstream oss;
|
||||||
oss << filename << ":" << line;
|
oss << name << "@" << filename << ":" << line;
|
||||||
|
|
||||||
if( !m_runningTest->addSection( oss.str() ) )
|
if( !m_runningTest->addSection( oss.str() ) )
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user