Use different file for navigation test because of test framework limitation.

This commit is contained in:
Ilya Ryzhenkov
2014-06-24 18:10:16 +04:00
parent af8d0f7b9e
commit 37874556ae
2 changed files with 3 additions and 3 deletions
@@ -1,11 +1,11 @@
package kotlin
import java.util.*
import java.util.Enumeration
/**
Helper to make java.util.Enumeration usable in for
*/
public fun <T> java.util.Enumeration<T>.iterator(): Iterator<T> = object: Iterator<T> {
public fun <T> Enumeration<T>.iterator(): Iterator<T> = object: Iterator<T> {
override fun hasNext(): Boolean = hasMoreElements()
public override fun next(): T = nextElement()