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:
@@ -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'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user