Issue 437 create PathMatchers class - Like FileMatchers but for java.nio.Path#442
Closed
rmcdouga wants to merge 2 commits intohamcrest:masterfrom
Closed
Issue 437 create PathMatchers class - Like FileMatchers but for java.nio.Path#442rmcdouga wants to merge 2 commits intohamcrest:masterfrom
rmcdouga wants to merge 2 commits intohamcrest:masterfrom
Conversation
For now, starting with FeatureMatcher and TypeSaveDiagnosingMatcher since those are, in my experience, the two most important and commonly used matchers.
Has matchers for java.nio.file.Path class. Replacement for FileMatchers.
Author
|
This PR doesn't meet coding formatting standards for the project (it uses tabs for indenting). At the time I submitted this, I didn't have GitHub actions enabled, so I wasn't aware of the formatting enforcement. The formatting is fixed in version of this code incorporated into Hamcrest 4.0 Draft PR #443. |
Author
|
Closing this PR, it has been merged into PR #443 . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Created org.hamcrest.io.PathMatchers class that operates similarly to org.hamcrest.io.FileMatchers but for java.nio.file.Path objects.
It addresses issue #437 and depends on PR #441 (i.e. it contains the same static factory methods as that PR).