Skip to content

Commit 0f43f7e

Browse files
committed
Update assertion message
1 parent e3f15e9 commit 0f43f7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assertk/src/commonTest/kotlin/test/assertk/assertions/IterableTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ class IterableTest {
250250
val error = assertFailsWith<AssertionError>() {
251251
assertThat(iterableOf(1, "two")).doesNotContainInstanceOf<String>()
252252
}
253-
assertEquals("expected to contain no instances of class kotlin.String but was [1, two]", error.message)
253+
assertEquals("expected to not contain instances of class kotlin.String but was [1, two]", error.message)
254254
}
255255

256256
@Test fun doesNotContainInstanceOf_element_missing_passes() {

0 commit comments

Comments
 (0)