datatest-stable 0.2.9
·
270 commits
to main
since this release
Added
Previously, the test functions supported were fn(&Path) -> Result<()>
and fn(&Utf8Path) -> Result<()>
. This release adds additional supported functions:
fn(&P, String) -> datatest_stable::Result<()>
whereP
isPath
orUtf8Path
. If the
extraString
parameter is specified, the contents of the file will be loaded and passed in
as a string (erroring out if that failed).fn(&P, Vec<u8>) -> datatest_stable::Result<()>
whereP
isPath
orUtf8Path
. If the
extraVec<u8>
parameter is specified, the contents of the file will be
loaded and passed in as aVec<u8>
(erroring out if that failed).