mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
Some tests were using files that others called blackBoxFile() on. Since those files are now moved to box/, copy them back to make the tests pass
13 lines
167 B
Kotlin
13 lines
167 B
Kotlin
enum class Season {
|
|
WINTER
|
|
SPRING
|
|
SUMMER
|
|
AUTUMN
|
|
}
|
|
|
|
fun foo(): Season = Season.SPRING
|
|
|
|
fun box() =
|
|
if (foo() == Season.SPRING) "OK"
|
|
else "fail"
|