Skip to content

Commit db84818

Browse files
committed
Update assertion message
1 parent 4acf4b8 commit db84818

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)