Macro rivia::assert_vfs_read_all
source · [−]macro_rules! assert_vfs_read_all {
($vfs:expr, $path:expr, $data:expr) => { ... };
}Expand description
Assert data read from the file matches the input data
Examples
use rivia::prelude::*;
let vfs = Vfs::memfs();
assert_vfs_no_file!(vfs, "foo");
assert_vfs_write_all!(vfs, "foo", "foobar 1");
assert_vfs_read_all!(vfs, "foo", "foobar 1".to_string());