Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add file content matcher to FileMatchers #345

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

night-gale
Copy link

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.

@nhojpatrick
Copy link
Member

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.

@tumbarumba tumbarumba mentioned this pull request Aug 3, 2024
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add matcher for file contents
3 participants