Refactored AbstractOptimizeImportsTest to inherit from AbstractImportsTest

This commit is contained in:
Valentin Kipyatkov
2015-02-13 20:53:55 +03:00
parent 03f7c265d7
commit 2e3ed6b66f
58 changed files with 55 additions and 81 deletions
@@ -0,0 +1,15 @@
package test1
public class MyClass {
}
public fun MyClass.iterator(): Iterator<MyClass> {
return object: Iterator<MyClass> {
override fun next(): MyClass {
throw Exception()
}
override fun hasNext(): Boolean {
throw Exception()
}
}
}