JavaHamcrest icon indicating copy to clipboard operation
JavaHamcrest copied to clipboard

Add file content matcher to FileMatchers

Open night-gale opened this issue 4 years ago • 2 comments

Fixed #281 Add two public methods to FileMatchers. The matchesContentOf takes a File and returns a Matcher<File> that matches the content of the file. The aFileWithContent takes a Matcher<String> where the string is the expected file content, and returns a Matcher<File> matches the content of the file.

night-gale avatar May 21 '21 11:05 night-gale

Going to try and kick start hamcrest, so if you want to get it merged, please rebase from the branch v2.3-candidates. Still trying to understand how has permissions to perform a release.

nhojpatrick avatar Feb 13 '22 12:02 nhojpatrick