Renamed *.jet to *.kt in test data of JetPsiCheckerTest.

This commit is contained in:
Evgeny Gerashchenko
2012-11-12 19:23:29 +04:00
parent 8d7e79c806
commit 799a986812
73 changed files with 148 additions and 148 deletions
@@ -0,0 +1,21 @@
abstract enum class ProtocolState {
WAITING {
override fun signal() = ProtocolState.TALKING
}
TALKING {
override fun signal() = ProtocolState.WAITING
}
abstract fun signal() : ProtocolState
}
fun box(): String {
var x: ProtocolState = ProtocolState.WAITING
x = x.signal()
if (x != ProtocolState.TALKING) return "fail 1"
x = x.signal()
if (x != ProtocolState.WAITING) return "fail 2"
return "OK"
}