mirror of
https://github.com/bspeice/qadapt
synced 2024-11-21 05:18:09 -05:00
Add a release-only test for is_active()
behavior
This commit is contained in:
parent
640269ff10
commit
8df83a56b1
10
tests/inactive_release.rs
Normal file
10
tests/inactive_release.rs
Normal file
@ -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());
|
||||
}
|
Loading…
Reference in New Issue
Block a user