Add a release-only test for `is_active()` behavior
Parent
640269ff10
révision
8df83a56b1
|
@ -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());
|
||||
}
|
Chargement…
Référencer dans un nouveau ticket