Platform (jvm, js, android): jvm
Extension (none, kotlin 1.3, jdk8): none
We want to migrate the api-cc-infix-en_GB... modules which are based on Assert to Expect. We have already created the corresponding
modules api-infix-en_GB.... Also there are already fluent-en_GB... modules where we have already done the transition from Assert to Expect
Following the things you need to do:
mapAssertions.kt from atrium-api-fluent-en_GB-common to atrium-api-infix-en_GB-commonvararg functions to two functions, one which expects only one parameter and another which uses a helper object - i.e Pairs and All (see mapAssertions.kt in atrium-api-cc-infix-en_GB-common for a guideline)isEmpty() to toBe Empty (see mapAssertions.kt in atrium-api-cc-infix-en_GB-common for a guideline)isNotEmpty() to notToBe EmptyMapAssertionsSpec.kt from atrium-api-fluent-en_GB-common to atrium-api-infix-en_GB-commonKFunction<...> -- use fun1<..>(...).name)MapAsEntriesAssertionsSpec.kt from atrium-api-fluent-en_GB-common to atrium-api-infix-en_GB-commonKFunction<...> -- use fun1<..>(...).name)MapFeatureAssertionsSpec.kt from atrium-api-fluent-en_GB-common to atrium-api-infix-en_GB-commonKFunction<...> -- use fun1<..>(...).name)I'll work on this if you would like to take this issue over.I can take this one on!
@dragid10 do you need help?
Sorry I haven't had much time to work on it this past week, But I'll reach out tomorrow if I need help!
In trying to fix the Expect.contains function I am unable to use this contains Pairs(keyValuePair) while getting the message Type checking has run into a recursive problem. Easiest workaround: specify types of your declarations explicitly
It's always easier for me to see all code to help out with a problem. Can you create a PR (pull request) please? You can suffix the title of the PR with WIP which stands for work in progress
@dragid10 could you solve your problem?
@dragid10 any progress on this one? do you need help? Un-assign you so that others can take over.
Hey @robstoll, I am unable to continue contributing for I am quite busy. I will be back when the work load reduces.
I'm in a small group that will work on this
implemented with 1c5bbb2
Most helpful comment
I'm in a small group that will work on this