mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
Tests: test_index_hash: Add an assert_uint_eq().
This commit is contained in:
parent
d550304f53
commit
fc0c788469
1 changed files with 3 additions and 0 deletions
|
@ -140,6 +140,9 @@ generate_index(uint8_t *buf, const lzma_vli *unpadded_sizes,
|
|||
|
||||
// Add the CRC32
|
||||
write32le(buf + out_pos, lzma_crc32(buf, out_pos, 0));
|
||||
out_pos += 4;
|
||||
|
||||
assert_uint_eq(out_pos, index_max_size);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue