Skip to content

datatest-stable 0.2.9

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 26 Apr 01:31
· 47 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<()> where P is Path or Utf8Path. If the
    extra String 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<()> where P is Path or Utf8Path. If the
    extra Vec<u8> parameter is specified, the contents of the file will be
    loaded and passed in as a Vec<u8> (erroring out if that failed).