-
-
Notifications
You must be signed in to change notification settings - Fork 226
Closed
Milestone
Description
Platform (all, jvm, js): all
Extension (none, kotlin 1.3): none
Code related feature
expect(listOf(1, 2, 2, 4)).toContain.inAnyOrder.only.values(1, 2, 3, 4)
Results per default in:
I expected subject: [1, 2, 2, 4] (java.util.Arrays.ArrayList <1234789>)
◆ to contain, in any order:
⚬ an element which needs:
» to be less than: 3 (kotlin.Int <1234789>)
⚬ ▶ number of such elements: 3
◾ is at most: 2
I suggest we apply the same strategy regarding showing all successful or not like we use for inOrder.only, i.e. show only failing if there are more than 10 expected elements and add option to change the options