Removed downto cases from JS backend tests (to be restored, see KT-2586)

This commit is contained in:
Evgeny Gerashchenko
2012-08-07 22:06:43 +04:00
parent 3dfb510a62
commit e14a612699
3 changed files with 1 additions and 19 deletions
@@ -49,11 +49,7 @@ public final class RangeTest extends SingleFileTranslationTest {
fooBoxTest();
}
public void testIntDownTo() throws Exception {
fooBoxTest();
}
public void testUpToDownToDoNotIterate() throws Exception {
public void testUpToDoesNotIterate() throws Exception {
fooBoxTest();
}
}
@@ -1,11 +0,0 @@
package foo
import java.util.ArrayList
fun box() : Boolean {
var elems = ArrayList<Int>()
for (i in 4 downto 0) {
elems.add(i)
}
return elems[0] == 4 && elems[1] == 3 && elems[2] == 2 && elems[3] == 1 && elems[4] == 0
}
@@ -6,8 +6,5 @@ fun box() : Boolean {
for (i in 0 upto -1) {
return false
}
for (i in 0 downto 1) {
return false
}
return true
}