Platform (jvm, jdk8, js, android): jdk8
expect(path).endsNotWith(otherPath)
//instead of
expect(path).feature { f1(it::endsNotWith, otherpath) }.toBe(true)
However, in reporting we only want to see (in contrast to the feature version):
expect: Path...
* ends not with: Path
Following the things you need to do:
domain
endsNotWith (see other functions as a guideline)lib
ExpectImpl.builder.descriptive... (see /domain/robstoll-lib/atrium-domain-robstoll-lib-common/src/main/kotlin/ch/tutteli/atrium/domain/robstoll/lib/creating/charSequenceAssertions.kt -> _endsNotWith)ENDS_NOT_WITH("ends not with") to DescriptionPathAssertion for en_GBENDS_NOT_WITH("endet nicht mit") to DescriptionPathAssertion for de_CHapi (fluent-en_GB/extension/jdk8)
endsNotWith@since 0.9.0 to KDOCendsWith to PathAssertionsSpec in specs-common and extend it in atrium-api-fluent-en_GB-common/src/testI'll work on this if you would like to take this issue over.I'll work on this
Most helpful comment
I'll work on this