mirror of
https://github.com/bspeice/qadapt
synced 2026-06-13 08:41:51 -04:00
Add a release-only test for is_active() behavior
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
use qadapt::QADAPT;
|
||||
|
||||
#[global_allocator]
|
||||
static Q: QADAPT = QADAPT;
|
||||
|
||||
#[cfg(not(debug_assertions))]
|
||||
#[test]
|
||||
fn release_only_inactive() {
|
||||
assert!(!qadapt::is_active());
|
||||
}
|
||||
Reference in New Issue
Block a user