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

cgen/fmt: fix assign_stmt fix & cgen test & hash tests & fmt

This commit is contained in:
Joe Conigliaro
2020-03-11 11:31:24 +11:00
parent 630913d872
commit 083964522b
9 changed files with 29 additions and 20 deletions

View File

@@ -7,6 +7,6 @@ fn test_fnv1a() {
a := 'apple'
b := fnv1a.sum64_string(a)
c := fnv1a.sum64(a.bytes())
assert b.hex() == '0xf74a62a458befdbf'
assert c.hex() == '0xf74a62a458befdbf'
assert b.hex() == 'f74a62a458befdbf'
assert c.hex() == 'f74a62a458befdbf'
}