mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-22 19:33:29 +01:00
The file/ line in sections is now of the section. not the test case
This commit is contained in:
parent
d6b8ac5a4e
commit
ab44fb6811
@ -284,7 +284,7 @@ namespace Catch {
|
||||
printHeaderString( it->name, 2 );
|
||||
}
|
||||
|
||||
SourceLineInfo lineInfo = m_sectionStack.front().lineInfo;
|
||||
SourceLineInfo lineInfo = m_sectionStack.back().lineInfo;
|
||||
|
||||
if( !lineInfo.empty() ){
|
||||
stream << getLineOfChars<'-'>() << '\n';
|
||||
|
Loading…
Reference in New Issue
Block a user