We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 588588e commit 2cee219Copy full SHA for 2cee219
assertk/src/commonMain/kotlin/assertk/assertions/list.kt
@@ -26,9 +26,9 @@ fun <T> Assert<List<T>>.index(index: Int): Assert<T> =
26
* Asserts the list contains exactly the expected elements. They must be in the same order and
27
* there must not be any extra elements.
28
*
29
- * [1, 2] containsOnly [2, 1] fails
30
- * [1, 2, 2] containsOnly [2, 1] fails
31
- * [1, 2] containsOnly [2, 2, 1] fails
+ * [1, 2] containsExactly [2, 1] fails
+ * [1, 2, 2] containsExactly [2, 1] fails
+ * [1, 2] containsExactly [2, 2, 1] fails
32
33
* @see [containsAll]
34
* @see [containsOnly]
0 commit comments