mockalloc
#[test]
Replacement for the #[test] macro to automatically detect allocation bugs from within the test.
Equivalent to wrapping the test body in mockalloc::assert_allocs(|| { ... });.
mockalloc::assert_allocs(|| { ... });