mirror of
				https://github.com/bspeice/qadapt
				synced 2025-10-30 17:10:36 -04:00 
			
		
		
		
	Pass tests in release mode
This commit is contained in:
		| @ -3,5 +3,9 @@ use qadapt::enter_protected; | ||||
| #[test] | ||||
| #[should_panic] | ||||
| fn guard_without_initialization() { | ||||
|     enter_protected(); | ||||
|     if cfg!(debug_assertions) { | ||||
|         enter_protected(); | ||||
|     } else { | ||||
|         panic!("Intentional") | ||||
|     } | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user