[PowerAssert] Add codegen tests
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// FUNCTION: kotlin.require
|
||||
|
||||
fun box() = expectThrowableMessage {
|
||||
val list = listOf("Jane", "John")
|
||||
require(
|
||||
value = list
|
||||
.map { "Doe, $it" }
|
||||
.any { it == "Scott, Michael" }
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user