Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorPhil Nash2011-12-28 10:33:54 +0000
committerPhil Nash2011-12-28 10:33:54 +0000
commit7c94aef660fa94a87c904e24d444e15cef09d2f7 (patch)
treee31ffb356eb5890b7c243d8aa148b868fbfa2d86 /include
parent07ff5f39fd6206e0af82cd51a2a833c9883ed7df (diff)
downloadcatch3-7c94aef660fa94a87c904e24d444e15cef09d2f7.tar.gz
Fix for GitHub Issue #66
SECTIONs distinguished by name as well as file/ line
Diffstat (limited to 'include')
-rw-r--r--include/internal/catch_runner_impl.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/internal/catch_runner_impl.hpp b/include/internal/catch_runner_impl.hpp
index f93f2c45..0bb28203 100644
--- a/include/internal/catch_runner_impl.hpp
+++ b/include/internal/catch_runner_impl.hpp
@@ -487,7 +487,7 @@ namespace Catch
)
{
std::ostringstream oss;
- oss << filename << ":" << line;
+ oss << name << "@" << filename << ":" << line;
if( !m_runningTest->addSection( oss.str() ) )
return false;