Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
dcd24449718cba21bd86428e5cddb9b25e5612af
/
.
/
plugins
/
power-assert
/
testData
/
codegen
/
property
/
enumWithBooleanProperty.kt
blob: 7becce475b8cf300af6f5e24b9b040b696ed3f3d [
file
]
enum
class
Status
(
val isActive
:
Boolean
)
{
ACTIVE
(
true
),
INACTIVE
(
false
)
}
fun box
()
=
expectThrowableMessage
{
assert
(
Status
.
INACTIVE
.
isActive
)
}