Regression tests for some old EA reports
EA-35953, EA-35743
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
fun box(): String {
|
||||
if (12.toString() equals "13") {
|
||||
return "Fail"
|
||||
}
|
||||
return "OK"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
val Int.test = "test"
|
||||
|
||||
fun box(): String {
|
||||
val x = "a ${1.test}"
|
||||
return if (x == "a test") "OK" else "Fail $x"
|
||||
}
|
||||
Reference in New Issue
Block a user