KT-1733 test for obsolete issue
This commit is contained in:
@@ -0,0 +1,12 @@
|
|||||||
|
fun box(args) : String {
|
||||||
|
val map = java.util.TreeMap<String, String>()
|
||||||
|
map["a"] = "1"
|
||||||
|
map["b"] = "2"
|
||||||
|
|
||||||
|
var list = arrayList<String>()
|
||||||
|
for (e in map) {
|
||||||
|
list += e.getKey()
|
||||||
|
}
|
||||||
|
|
||||||
|
return if(list.size==2) "OK" else "fail"
|
||||||
|
}
|
||||||
@@ -344,4 +344,8 @@ public class StdlibTest extends CodegenTestCase {
|
|||||||
public void testUptoDownto() {
|
public void testUptoDownto() {
|
||||||
blackBoxFile("uptoDownto.kt");
|
blackBoxFile("uptoDownto.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void test1733() {
|
||||||
|
blackBoxFile("regressions/kt1733.kt");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user