Skip to content

Commit

Permalink
Fix broken StacktraceRecoveryTest
Browse files Browse the repository at this point in the history
  • Loading branch information
sandwwraith committed Sep 21, 2020
1 parent 932f8c5 commit e2e764a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ import kotlinx.serialization.descriptors.*
import kotlinx.serialization.encoding.*
import kotlinx.serialization.json.*
import kotlinx.serialization.json.internal.*
import kotlinx.serialization.modules.*
import kotlin.test.*

class StacktraceRecoveryTest {
@Serializable
private class Data(val s: String)

private class BadDecoder : AbstractDecoder() {
override val serializersModule: SerializersModule = EmptySerializersModule
override fun decodeElementIndex(descriptor: SerialDescriptor): Int = 42
}

Expand Down

0 comments on commit e2e764a

Please sign in to comment.