More AssertionResult refactoring
This commit is contained in:
parent
1dd56d4d2b
commit
e04e74f896
12 changed files with 95 additions and 112 deletions
|
@ -165,9 +165,9 @@ namespace Catch {
|
|||
|
||||
startSpansLazily();
|
||||
|
||||
if( !assertionResult.getFilename().empty() ) {
|
||||
if( !assertionResult.getSourceInfo().empty() ) {
|
||||
TextColour colour( TextColour::FileName );
|
||||
m_config.stream << SourceLineInfo( assertionResult.getFilename(), assertionResult.getLine() );
|
||||
m_config.stream << assertionResult.getSourceInfo();
|
||||
}
|
||||
|
||||
if( assertionResult.hasExpression() ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue