This commit is contained in:
		
							parent
							
								
									961111c5da
								
							
						
					
					
						commit
						4d0a7f9b45
					
				
					 1 changed files with 5 additions and 5 deletions
				
			
		|  | @ -119,21 +119,21 @@ struct Case | ||||||
| struct TestSuite | struct TestSuite | ||||||
| { | { | ||||||
| 	template<class TSuite> | 	template<class TSuite> | ||||||
| 	constexpr TestSuite(TSuite suite) | 	constexpr TestSuite(TSuite body) | ||||||
| 	{ | 	{ | ||||||
| #ifndef LIGHT_SKIP_TESTS | #ifndef LIGHT_SKIP_TESTS | ||||||
| 		details::Registry::register_suite(+suite); | 		details::Registry::register_suite(+body); | ||||||
| #endif | #endif | ||||||
| 	} | 	} | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| struct TestFuzzHarness | struct TestFuzzHarness | ||||||
| { | { | ||||||
| 	template<class TestFuzzHarness> | 	template<class TestFuzzHarnessBody> | ||||||
| 	constexpr TestFuzzHarness(TestFuzzHarness suite) | 	constexpr TestFuzzHarness(TestFuzzHarnessBody body) | ||||||
| 	{ | 	{ | ||||||
| #ifndef LIGHT_SKIP_FUZZ_TESTS | #ifndef LIGHT_SKIP_FUZZ_TESTS | ||||||
| 		details::Registry::register_fuzz_harness(+suite); | 		details::Registry::register_fuzz_harness(+body); | ||||||
| #endif | #endif | ||||||
| 	} | 	} | ||||||
| }; | }; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue