macro_rules! assert_vfs_write_all {
    ($vfs:expr, $path:expr, $data:expr) => { ... };
}
Expand description

Assert data is written to the given file

Examples

use rivia::prelude::*;

let vfs = Vfs::memfs();
assert_vfs_no_file!(vfs, "foo");
assert_vfs_write_all!(vfs, "foo", b"foobar");
assert_vfs_is_file!(vfs, "foo");