mirror of
https://github.com/catchorg/Catch2.git
synced 2025-11-02 16:11:50 +01:00
Fixed line/no regression for SECTIONs
Unexpected exceptions within a section now get the SECTION's line no. again (instead of TEST_CASE line/no)
This commit is contained in:
@@ -34,6 +34,8 @@ namespace Catch{
|
||||
void MockReporter::Result( const AssertionResult& assertionResult ) {
|
||||
if( assertionResult.getResultType() == ResultWas::Ok )
|
||||
return;
|
||||
|
||||
m_log << assertionResult.getSourceInfo() << " ";
|
||||
|
||||
switch( assertionResult.getResultType() ) {
|
||||
case ResultWas::Info:
|
||||
|
||||
Reference in New Issue
Block a user