Fixed RangeTest.
This commit is contained in:
@@ -49,7 +49,7 @@ public final class RangeTest extends SingleFileTranslationTest {
|
||||
fooBoxTest();
|
||||
}
|
||||
|
||||
public void testUpToDoesNotIterate() throws Exception {
|
||||
public void testRangeToDoesNotIterate() throws Exception {
|
||||
fooBoxTest();
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -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
|
||||
Reference in New Issue
Block a user