summaryrefslogtreecommitdiff
path: root/single_include/catch2/catch_reporter_teamcity.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'single_include/catch2/catch_reporter_teamcity.hpp')
-rw-r--r--single_include/catch2/catch_reporter_teamcity.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/single_include/catch2/catch_reporter_teamcity.hpp b/single_include/catch2/catch_reporter_teamcity.hpp
index eca2885c..47b7e4aa 100644
--- a/single_include/catch2/catch_reporter_teamcity.hpp
+++ b/single_include/catch2/catch_reporter_teamcity.hpp
@@ -183,8 +183,7 @@ namespace Catch {
SourceLineInfo lineInfo = m_sectionStack.front().lineInfo;
- if( !lineInfo.empty() )
- os << lineInfo << "\n";
+ os << lineInfo << "\n";
os << getLineOfChars<'.'>() << "\n\n";
}