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

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorPhil Nash2017-02-10 11:56:46 +0000
committerPhil Nash2017-02-10 11:56:46 +0000
commitab44fb6811f1fee96fcb66ceb448602686bc5e41 (patch)
tree6a821111c4926c9d2eca3d88b6296d50206c949c /include
parentd6b8ac5a4e069328e56319abcf2e989c0241bc12 (diff)
downloadcatch3-ab44fb6811f1fee96fcb66ceb448602686bc5e41.tar.gz
The file/ line in sections is now of the section. not the test case
Diffstat (limited to 'include')
-rw-r--r--include/reporters/catch_reporter_console.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/reporters/catch_reporter_console.hpp b/include/reporters/catch_reporter_console.hpp
index 9303fb2e..96f18dc2 100644
--- a/include/reporters/catch_reporter_console.hpp
+++ b/include/reporters/catch_reporter_console.hpp
@@ -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';