Add test documenting a minor issue introduced in previous commit

This commit is contained in:
Pavel V. Talanov
2014-07-16 21:13:47 +04:00
parent 966da0b03f
commit 0462a018c5
3 changed files with 21 additions and 0 deletions
@@ -0,0 +1,7 @@
//TODO: should not shorten references here
fun main(args: Array<String>) {
asse<caret>rt(false, "mess": kotlin.String)
}
// WITH_RUNTIME
@@ -0,0 +1,9 @@
//TODO: should not shorten references here
fun main(args: Array<String>) {
if (!false) {
throw AssertionError("mess": String)
}
}
// WITH_RUNTIME