mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-03 21:49:32 +01:00 
			
		
		
		
	Suppress "no test cases matched" message if there was no test spec string
This commit is contained in:
		@@ -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;
 | 
					                std::cerr << "\n[No test cases matched with: " << filterGroup.getName() << "]" << std::endl;
 | 
				
			||||||
            return totals;
 | 
					            return totals;
 | 
				
			||||||
            
 | 
					            
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user