mirror of
https://github.com/catchorg/Catch2.git
synced 2025-06-06 07:20:48 +00:00
Builds almost completely cleanly with -WEverything in LLVM
This commit is contained in:
parent
cdc64a138b
commit
a695eb9006
37 changed files with 1045 additions and 966 deletions
|
@ -35,7 +35,7 @@ namespace Catch {
|
|||
class BasicReporter : public SharedImpl<IReporter> {
|
||||
|
||||
struct SpanInfo {
|
||||
|
||||
|
||||
SpanInfo()
|
||||
: emitted( false )
|
||||
{}
|
||||
|
@ -60,6 +60,8 @@ namespace Catch {
|
|||
m_firstSectionInTestCase( true ),
|
||||
m_aborted( false )
|
||||
{}
|
||||
|
||||
virtual ~BasicReporter();
|
||||
|
||||
static std::string getDescription() {
|
||||
return "Reports test results as lines of text";
|
||||
|
@ -222,7 +224,6 @@ namespace Catch {
|
|||
case ResultWas::FailureBit:
|
||||
case ResultWas::ExpressionFailed:
|
||||
case ResultWas::Exception:
|
||||
default:
|
||||
if( !resultInfo.hasExpression() ) {
|
||||
if( resultInfo.ok() ) {
|
||||
TextColour colour( TextColour::Success );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue