[−][src]Attribute Macro mockalloc_macros::test
#[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(|| { ... });
.
#[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(|| { ... });
.