Skip to content

Commit 6037580

Browse files
committed
Quick self review
1 parent da31deb commit 6037580

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/codegen/checksums/src/commonTest/kotlin/ClientConfigTests.kt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ class ClientConfigTests {
128128
Headers {
129129
append("x-amz-checksum-crc32", "bogus")
130130
},
131-
"Goodbye!".toHttpBody(),
131+
"World!".toHttpBody(),
132132
)
133133
val now = Instant.now()
134134
HttpCall(request, resp, now, now)
@@ -141,7 +141,7 @@ class ClientConfigTests {
141141
}.use { client ->
142142
try {
143143
client.checksumsRequiredOperation {
144-
body = "Hello World!"
144+
body = "Hello"
145145
}
146146
} catch (_: ChecksumMismatchException) { // "bogus" is not a matching checksum
147147
responseChecksumValidated = true
@@ -164,7 +164,7 @@ class ClientConfigTests {
164164
Headers {
165165
append("x-amz-checksum-crc32", "bogus")
166166
},
167-
"Goodbye!".toHttpBody(),
167+
"World!".toHttpBody(),
168168
)
169169
val now = Instant.now()
170170
HttpCall(request, resp, now, now)
@@ -177,7 +177,7 @@ class ClientConfigTests {
177177
}.use { client ->
178178
try {
179179
client.checksumsRequiredOperation {
180-
body = "Hello World!"
180+
body = "Hello"
181181
}
182182
} catch (_: ChecksumMismatchException) { // "bogus" is not a matching checksum
183183
responseChecksumValidated = true
@@ -201,7 +201,7 @@ class ClientConfigTests {
201201
Headers {
202202
append("x-amz-checksum-crc32", "bogus")
203203
},
204-
"Goodbye!".toHttpBody(),
204+
"World!".toHttpBody(),
205205
)
206206
val now = Instant.now()
207207
HttpCall(request, resp, now, now)
@@ -214,7 +214,7 @@ class ClientConfigTests {
214214
}.use { client ->
215215
try {
216216
client.checksumsRequiredOperation {
217-
body = "Hello World!"
217+
body = "Hello"
218218
}
219219
} catch (_: ChecksumMismatchException) { // "bogus" is not a matching checksum
220220
responseChecksumValidated = true

0 commit comments

Comments
 (0)