Platform (all, jvm, js): all
Extension (none, kotlin 1.3): none
expect(path).toBeASymbolicLink()
//instead of
expect(path).feature { f(it::isSymbolicLink)}.toBe(true)
Following the things you need to do:
logic
toBeASymbolicLink (see isRegularFile as a guideline)api-fluent
toBeASymbolicLink (see isRegularFile as a guideline)@since 0.16.0 (adapt to current milestone) to KDOCapi-infix
toBe which expect a new pseudo-keyword aSymbolicLink (see toBe(aRegularFile)` as a guideline)@since 0.16.0 (adapt to current milestone) to KDOCtoBe aSymbolicLink to PathExpectationsSpec in specs-common adopt the spec in api-fluentI'll work on this if you would like to take this issue over.I vote to name the function toBeASymbolicLink.
Good with me, I was considering it as well (already did it for the infix API)
I'll work on this
@fimbulwint note that I have updated the description. Have fun implementing and let us know in case you need help
@robstoll Thanks!
@robstoll I'm ready to create a PR, but I don't have permissions to push/create the tracking branch
@fimbulwint you should fork this repository, push the branch to your fork, and then open a Pull Request from your fork. See also Creating a Pull Request from a Fork.
@jGleitz thank you, done that now