Unverified Commit c36dfb0f authored by Fahad Zubair's avatar Fahad Zubair Committed by GitHub
Browse files

Update...


Update codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/testutil/EventStreamTestModels.kt

Co-authored-by: default avatardavid-perez <d@vidp.dev>
parent 13c0c783
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -131,7 +131,7 @@ object EventStreamTestModels {
        return String(encodedBytes)
    }

    private fun createCBORFromJSON(jsonString: String): ByteArray {
    private fun createCborFromJson(jsonString: String): ByteArray {
        val jsonMapper = ObjectMapper()
        val cborMapper = ObjectMapper(CBORFactory())
        // Parse JSON string to a generic type.