Skip to content

Commit b39e389

Browse files
committed
fix: CBOR protocol test assertion
1 parent 4575023 commit b39e389

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/rendering/protocol/HttpProtocolUnitTestRequestGenerator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ open class HttpProtocolUnitTestRequestGenerator protected constructor(builder: B
117117
write("return")
118118
}
119119
write("requireNotNull(expectedBytes) { #S }", "expected application/cbor body cannot be null")
120-
write("requireNotNull(expectedBytes) { #S }", "actual application/cbor body cannot be null")
120+
write("requireNotNull(actualBytes) { #S }", "actual application/cbor body cannot be null")
121121

122122
write("")
123123
write("val expectedRequest = #L(#T(expectedBytes))", inputDeserializer.name, RuntimeTypes.Serde.SerdeCbor.CborDeserializer)

0 commit comments

Comments
 (0)