Platform (jvm, js, android): all
Extension (none, kotlin 1.3, jdk8): none
expect(sequence).asList().get(20).toBe(2)
Following the things you need to do:
api-fluent
asList which returns Expect<List<T>> (see asIterable as a guideline)asList which expects an assertionCreator-lambda and returns Expect<T> (see asIterable as a guideline)@since 0.12.0 (adapt to next release version) to KDOCSpek which includes ListSpec which you create as inner object (see ch.tutteli.atrium.api.fluent.en_GB.IterableAnyAssertionsSpec as a guideline)api-infix
asList which returns Expect<List<T>> (see asIterable as a guideline)asList which expects an assertionCreator-lambda and returns Expect<T> (see asIterable as a guideline)@since 0.12.0 (adapt to next release version) to KDOCSpek which includes ListSpec which you create as inner object (see ch.tutteli.atrium.api.infix.en_GB.IterableAnyAssertionsSpec as a guideline)I'll work on this if you would like to take this issue over.i'll work on it
@Gugatke un-assign you so that others can take over
I did a similar issue and would work also on this one, if it's ok