For with Int#downto, Int#upto do not iterate on empty ranges.
This commit is contained in:
@@ -52,4 +52,8 @@ public final class RangeTest extends SingleFileTranslationTest {
|
||||
public void testIntDownTo() throws Exception {
|
||||
fooBoxTest();
|
||||
}
|
||||
|
||||
public void testUpToDownToDoNotIterate() throws Exception {
|
||||
fooBoxTest();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user