Macro fungus::assert_remove_all [−][src]
Wraps sys::remove_all
in an assertion that the directory no longer exists
and provides some nice output if something fails.
Examples
use fungus::assert::*; create_test_setup_func!(); let tmpdir = assert_setup!(); assert_exists!(&tmpdir); assert_remove_all!(&tmpdir); assert_no_exists!(&tmpdir);