[PowerAssert] Add codegen tests
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
Assertion failed
|
||||
assert(text?.length?.minus(2) == 1)
|
||||
| | | |
|
||||
| | | false
|
||||
| | 3
|
||||
| 5
|
||||
Hello
|
||||
@@ -0,0 +1,4 @@
|
||||
fun box() = expectThrowableMessage {
|
||||
val text: String? = "Hello"
|
||||
assert(text?.length?.minus(2) == 1)
|
||||
}
|
||||
Reference in New Issue
Block a user