Skip to content

Commit 48a5431

Browse files
committed
fixup! Report generator states for failed assertions
1 parent 4c0a291 commit 48a5431

File tree

5 files changed

+2
-6
lines changed

5 files changed

+2
-6
lines changed

src/catch2/generators/catch_generators.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
#ifndef CATCH_GENERATORS_HPP_INCLUDED
99
#define CATCH_GENERATORS_HPP_INCLUDED
1010

11-
#include "catch2/interfaces/catch_interfaces_capture.hpp"
1211
#include <catch2/catch_tostring.hpp>
1312
#include <catch2/interfaces/catch_interfaces_generatortracker.hpp>
1413
#include <catch2/internal/catch_generator_info.hpp>

src/catch2/interfaces/catch_interfaces_reporter.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
// https://www.boost.org/LICENSE_1_0.txt)
66

77
// SPDX-License-Identifier: BSL-1.0
8-
#include "catch2/interfaces/catch_interfaces_capture.hpp"
98
#include <catch2/interfaces/catch_interfaces_reporter.hpp>
109
#include <catch2/interfaces/catch_interfaces_config.hpp>
1110
#include <catch2/internal/catch_console_colour.hpp>

src/catch2/interfaces/catch_interfaces_reporter.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
#ifndef CATCH_INTERFACES_REPORTER_HPP_INCLUDED
99
#define CATCH_INTERFACES_REPORTER_HPP_INCLUDED
1010

11-
#include "catch2/interfaces/catch_interfaces_capture.hpp"
1211
#include <catch2/catch_section_info.hpp>
1312
#include <catch2/catch_totals.hpp>
1413
#include <catch2/catch_assertion_result.hpp>

src/catch2/internal/catch_run_context.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
#ifndef CATCH_RUN_CONTEXT_HPP_INCLUDED
99
#define CATCH_RUN_CONTEXT_HPP_INCLUDED
1010

11-
#include "catch2/interfaces/catch_interfaces_capture.hpp"
1211
#include <catch2/interfaces/catch_interfaces_reporter.hpp>
1312
#include <catch2/internal/catch_test_registry.hpp>
1413
#include <catch2/internal/catch_fatal_condition_handler.hpp>

src/catch2/reporters/catch_reporter_console.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,14 +160,14 @@ class ConsoleAssertionPrinter {
160160
return;
161161
}
162162

163-
stream << "with " << pluralise(stats.generatorInfos.size(), "generator"_sr) << "\n";
163+
stream << "with " << pluralise(stats.generatorInfos.size(), "generator"_sr) << '\n';
164164
for ( auto const& info : stats.generatorInfos ) {
165165
stream << TextFlow::Column( "line:" ).indent( 2 )
166166
<< info.lineInfo.line << ": "
167167
<< "GENERATE(" << info.definition << ")\n"
168168
<< TextFlow::Column( "value: " ).indent( 2 )
169169
<< colourImpl->guardColour( Colour::GeneratorValue )
170-
<< info.currentElement << "\n";
170+
<< info.currentElement << '\n';
171171
}
172172
}
173173
void printMessage() const {

0 commit comments

Comments
 (0)