Rename element for Fatal Error Condition so it doesn't have spaces

Fixes: #685
This commit is contained in:
Phil Nash 2016-10-14 18:45:08 +01:00
parent 88732e85b2
commit e0302db4a6

View File

@ -115,7 +115,7 @@ namespace Catch {
.writeText( assertionResult.getMessage() );
break;
case ResultWas::FatalErrorCondition:
m_xml.scopedElement( "Fatal Error Condition" )
m_xml.scopedElement( "FatalErrorCondition" )
.writeAttribute( "filename", assertionResult.getSourceInfo().file )
.writeAttribute( "line", assertionResult.getSourceInfo().line )
.writeText( assertionResult.getMessage() );