mirror of
https://github.com/catchorg/Catch2.git
synced 2025-11-28 07:59:32 +01:00
Moved use of reporter into runner (our of Main, directly)
This commit is contained in:
@@ -27,7 +27,7 @@ namespace Catch{
|
||||
|
||||
// Scoped because Runner doesn't report EndTesting until its destructor
|
||||
{
|
||||
Runner runner( config );
|
||||
Runner runner( config, config.getReporter() );
|
||||
result = runner.runMatching( rawTestSpec );
|
||||
m_totals = runner.getTotals();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user