Things to assert - file type - file content others?
Activity
[-]Assert a file matches a fixture version[/-][+]Assert a file matches a fixture on disk[/+]epage commentedon May 29, 2018
Possible Requirements
from_path
for people to do complex predicates[u8]
and checking equalityepage commentedon May 29, 2018
Possible API
eq_file(path)
: BinaryFilePredicateeq_file(path).str()
: StrFilePredicateeq_file(path).str().normalize_eol(yes: bool)
epage commentedon May 29, 2018
Background: we'll also want a directory matches a directory on disk
What if the API was instead
eq_file(path, flags)
where flags is a bitfield with the followingepage commentedon May 29, 2018
For dir-diff, some thing to check out