Function expectorate::eq_file

source ·
pub fn eq_file(path: impl Into<PathBuf>) -> FilePredicate
Available on crate feature predicates only.
Expand description

Creates a new predicate that ensures equality with the given file.

To accept changes to the file, run with EXPECTORATE=overwrite.