Fix ConstrainSingleTest

This commit is contained in:
Karlatemp 2020-12-11 19:08:18 +08:00
parent f59fcf7d5d
commit 49aecee7bc
No known key found for this signature in database
GPG Key ID: 21FBDDF664FF06F8

View File

@ -47,7 +47,7 @@ internal class ConstrainSingleTest {
add("st")
}
val result = TestConstrainSingleMessage() + chain
assertSame(chain, result)
assertEquals(chain, result)
assertEquals(2, result.size)
assertEquals(result.contentToString(), "st")
assertTrue { result.first() is TestConstrainSingleMessage }