mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 15:26:11 +01:00
Suppress "no test cases matched" message if there was no test spec string
This commit is contained in:
parent
429699e797
commit
ca79d19325
@ -69,7 +69,7 @@ namespace Catch {
|
||||
}
|
||||
}
|
||||
}
|
||||
if( testsRunForGroup == 0 )
|
||||
if( testsRunForGroup == 0 && !filterGroup.getName().empty() )
|
||||
std::cerr << "\n[No test cases matched with: " << filterGroup.getName() << "]" << std::endl;
|
||||
return totals;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user