File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
runtime/runtime-core/common/test/aws/smithy/kotlin/runtime/hashing Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,6 @@ class Crc32cTest {
3333 val input = " foobar"
3434
3535 crc.update(input.encodeToByteArray(), 0 , input.length / 2 )
36- assertEquals(3485773341U , crc.digestValue()) // checksum of "foo"
37-
3836 crc.update(input.encodeToByteArray(), (input.length - input.length / 2 ), input.length / 2 )
3937 assertEquals(224353407U , crc.digestValue()) // checksum of "foobar"
4038 }
@@ -45,8 +43,7 @@ class Crc32cTest {
4543 val input = " foobar"
4644
4745 crc.update(input.encodeToByteArray(), 0 , input.length)
48- assertEquals(224353407U , crc.digestValue()) // checksum of "foobar"
49- assertEquals(" DV9cfw==" , crc.digest().encodeBase64String())
46+ assertEquals(" DV9cfw==" , crc.digest().encodeBase64String()) // checksum of "foobar"
5047 }
5148
5249 @Test
You can’t perform that action at this time.
0 commit comments