[−][src]Macro fungus::assert_remove
Wraps sys::remove
in an assertion that the file no longer exists and
provides some nice output if something fails.
Examples
use fungus::assert::*; create_test_setup_func!(); let tmpdir = assert_setup!(); let file = tmpdir.mash("file"); sys::touch(&file).unwrap(); assert_file!(&file); assert_remove!(&file); assert_no_file!(&file); assert_remove_all!(&tmpdir);