Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
shanshin committed Sep 22, 2022
1 parent 9d7804e commit 62225f4
Showing 1 changed file with 0 additions and 13 deletions.
Expand Up @@ -100,17 +100,4 @@ class SerializersLookupEnumTest {
assertIs<EnumExternalClassSerializer>(EnumExternalClass.serializer())
assertIs<EnumExternalClassSerializer>(serializer<EnumExternalClass>())
}

@Test
fun testEnumPolymorphic() {
if (isJvm()) {
assertEquals(
PolymorphicSerializer(EnumPolymorphic::class).descriptor,
serializer<EnumPolymorphic>().descriptor
)
} else {
// FIXME serializer<PolymorphicEnum> is broken for K/JS and K/Native. Remove `assertFails` after fix
assertFails { serializer<EnumPolymorphic>() }
}
}
}

0 comments on commit 62225f4

Please sign in to comment.