-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
A-snapboxArea: snapbox packageArea: snapbox packageenhancementImprove the expectedImprove the expected
Description
I'm working on upgrading to snapbox 0.5, and the new method of comparing an output to a file in the path seems to require more boilerplate. Instead of .stdout_matches_path(my_path), I now need to do .stdout_matches(Data::read_from(&my_path, None)).
What do you think about implementing both From<&Path> and From<PathBuf> for data to remove that extra boilerplate?
If there is another, cleaner method already, please let me know! 😁
Metadata
Metadata
Assignees
Labels
A-snapboxArea: snapbox packageArea: snapbox packageenhancementImprove the expectedImprove the expected