Fixed RangeTest.

This commit is contained in:
Evgeny Gerashchenko
2012-08-08 15:37:39 +04:00
parent e5119da97a
commit 4f68b926fb
2 changed files with 2 additions and 2 deletions
@@ -49,7 +49,7 @@ public final class RangeTest extends SingleFileTranslationTest {
fooBoxTest();
}
public void testUpToDoesNotIterate() throws Exception {
public void testRangeToDoesNotIterate() throws Exception {
fooBoxTest();
}
}
@@ -3,7 +3,7 @@ package foo
import java.util.ArrayList
fun box() : Boolean {
for (i in 0 upTo -1) {
for (i in 0 rangeTo -1) {
return false
}
return true