ci: run vfmt over sha256_test.v
parent
3a1cae0c4f
commit
d8d6e9b901
|
@ -12,6 +12,5 @@ fn test_crypto_sha256_writer() {
|
||||||
digest.write('This is a'.bytes()) or { assert false }
|
digest.write('This is a'.bytes()) or { assert false }
|
||||||
digest.write(' sha256 checksum.'.bytes()) or { assert false }
|
digest.write(' sha256 checksum.'.bytes()) or { assert false }
|
||||||
sum := digest.sum([])
|
sum := digest.sum([])
|
||||||
assert sum.hex() ==
|
assert sum.hex() == 'dc7163299659529eae29683eb1ffec50d6c8fc7275ecb10c145fde0e125b8727'
|
||||||
'dc7163299659529eae29683eb1ffec50d6c8fc7275ecb10c145fde0e125b8727'
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue