-
Notifications
You must be signed in to change notification settings - Fork 623
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
modify `containExactlyInAnyOrder` so that it explicitly prints out when count of duplicates is different, such as: ``` shouldThrow<AssertionError> { listOf(1, 2, 2, 3).shouldContainExactlyInAnyOrder(listOf(1, 2, 3, 3)) }.shouldHaveMessage( """ Collection should contain [1, 2, 3, 3] in any order, but was [1, 2, 2, 3] CountMismatches: Key="2", expected count: 1, but was: 2, Key="3", expected count: 2, but was: 1 """.trimIndent() ```
- Loading branch information
1 parent
f524b62
commit ebcbd0e
Showing
2 changed files
with
74 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters