We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3afef39 commit 9e0cb3aCopy full SHA for 9e0cb3a
assertk/src/commonMain/kotlin/assertk/assertions/iterable.kt
@@ -158,7 +158,7 @@ inline fun <reified T> Assert<Iterable<*>>.containsInstanceOf(): Assert<List<T>>
158
* ```
159
*/
160
inline fun <reified T> Assert<Iterable<*>>.doesNotContainInstanceOf() = given { actual ->
161
- if (actual.none { it is T }) expected("to contain no instances of ${T::class} but was $actual")
+ if (actual.none { it is T }) expected("to not contain instances of ${T::class} but was $actual")
162
}
163
164
/**
0 commit comments