1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

tests: fix crc32_test.v

This commit is contained in:
Delyan Angelov 2020-04-08 16:48:13 +03:00
parent 4f7bfaf5d0
commit 1388532bd4
2 changed files with 3 additions and 4 deletions

View File

@ -64,7 +64,6 @@ const (
'vlib/v/tests/typeof_test.v',
'vlib/v/tests/valgrind/valgrind_test.v', // ubuntu-musl only
'vlib/vweb/assets/assets_test.v',
'vlib/hash/crc32/crc32_test.v'
]
)

View File

@ -8,9 +8,9 @@ module crc32
// polynomials
pub const (
ieee = 0xedb88320
castagnoli = 0x82f63b78
koopman = 0xeb31d82e
ieee = u32(0xedb88320)
castagnoli = u32(0x82f63b78)
koopman = u32(0xeb31d82e)
)
// The size of a CRC-32 checksum in bytes.