Include a README with some sample error messages

This commit is contained in:
Brian Norman
2020-02-05 17:59:42 -06:00
parent 6fcb8d456a
commit c506271bc2
3 changed files with 4 additions and 4 deletions
BIN
View File
Binary file not shown.
@@ -190,7 +190,7 @@ class PowerAssertCallTransformer(
val indentations = sorted.map { it.indentation }
addArgument(irString(buildString {
append(":").newline()
newline()
append(callSource).newline()
var last = -1
for (i in indentations) {
@@ -34,7 +34,7 @@ fun main() {
assert(hello.length == "World".substring(1, 4).length)
}""",
"""
Assertion failed:
Assertion failed
assert(hello.length == "World".substring(1, 4).length)
| | | | |
| | | | 3
@@ -55,7 +55,7 @@ fun main() {
assert(hello.reversed() == emptyList<String>())
}""",
"""
Assertion failed:
Assertion failed
assert(hello.reversed() == emptyList<String>())
| | | |
| | | []
@@ -74,7 +74,7 @@ fun main() {
assert(1 == 2) { "Not equal" }
}""",
"""
Not equal:
Not equal
assert(1 == 2) { "Not equal" }
|
false