1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-21 10:47:40 +00:00

Fix #928 - Fix hashing of negative 0.

This commit is contained in:
Calvin Rose
2022-03-04 19:49:39 -06:00
parent 56ba1d9cd3
commit d7ea122cf7
2 changed files with 3 additions and 0 deletions

View File

@@ -48,5 +48,7 @@
(assert (= (test) '(1 ())) "issue #919")
(assert (= (hash 0) (hash (* -1 0))) "hash -0 same as hash 0")
(end-suite)