[PowerAssert] Add codegen tests
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
fun box() = expectThrowableMessage {
|
||||
val text: String? = "Hello"
|
||||
assert(
|
||||
text
|
||||
== null ||
|
||||
(
|
||||
text.length == 5 &&
|
||||
text.toLowerCase() == text
|
||||
)
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user