From 7c94aef660fa94a87c904e24d444e15cef09d2f7 Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Wed, 28 Dec 2011 10:33:54 +0000 Subject: [PATCH] Fix for GitHub Issue #66 SECTIONs distinguished by name as well as file/ line --- include/internal/catch_runner_impl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;