moreover:
- add ambiguityTest to CharSequenceSpecBase
- introduce toVarArg which incorporates the hasNext check
- make feature KProperty contra-variant -> otherwise something like
Throwable::message does not work
- unfortunately same for Feature and FeatureWithCreator
but due to a Kotlin bug (would not be necessary
- also the same for the param object Values (also a Kotlin bug)
In detail:
- follow up to a352716d, we still use `returns this` in the description
change to `an [Expect] for the current subject of the assertion`
- fix KDoc of min and max, they are not properties but method calls
- get rid of private funs `values` and `keys` -> not worth the
code duplication reduction
moreover:
- move param objects to own package so that they are not automatically
available when one adds an `import ch.tutteli.atrium.api.infix.*`
statement
- simplify MapAssertionsSpec by introducing mfun2 which covers most
types (also in fluent-en_GB)
moreover:
- get rid off `to support a fluent API`, that's actually wrong, even
if we return an Expect for a feature it is still a fluent API
- do not mention that this Expect is returned but one for the current
subject
While working on #229, mapAssertionsSpec was accidentally renamed to mapExceptionsSpec. As all tests passed, this error was unfortunately never noticed. This change reverts it back to mapAssertionsSpec.
Followed intructions from the issue:
* copy and adjust the file chronoZonedDateTimeAssertions.kt from atrium-api-fluent-en_GB-jdk8-jvm to atrium-api-infix-en_GB-jdk8-jvm
* module-info.java already had uncommented `exports ch.tutteli.atrium.api.infix.en_GB.jdk8`
* change `@sinse` from 0.9.0 to 0.10.0
* copy the ChronoZonedDateTimeAssertionSpec.kt from atrium-api-fluent-en_GB-jdk8-jvm to atrium-api-infix-en_GB-jdk8-jvm (the description incorrectly said "ChronoZonedDateTimeAssertion_s_Spec.kt" with an "s")
Followed intructions from the issue:
* copy and adjust the file zonedDateTimeAssertions.kt from atrium-api-fluent-en_GB-jdk8-jvm to atrium-api-infix-en_GB-jdk8-jvm
* uncomment `exports ch.tutteli.atrium.api.infix.en_GB.jdk8` in module-info.java
* (not mentioned in the issue): changed the `@sinse` from 0.9.0 to 0.10.0 as this change will only be available in 0.10.0