mirror of
https://github.com/janet-lang/janet
synced 2026-09-01 23:28:51 +00:00
Fix #928 - Fix hashing of negative 0.
This commit is contained in:
@@ -48,5 +48,7 @@
|
||||
|
||||
(assert (= (test) '(1 ())) "issue #919")
|
||||
|
||||
(assert (= (hash 0) (hash (* -1 0))) "hash -0 same as hash 0")
|
||||
|
||||
(end-suite)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user