1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-24 19:24:48 +00:00

Add some more test cases for hex floats.

This commit is contained in:
Calvin Rose
2025-02-01 08:09:57 -06:00
parent f63a33884f
commit eecffe01a5
3 changed files with 8 additions and 3 deletions

View File

@@ -39,7 +39,7 @@
(defmacro assert
[x &opt e]
(def xx (gensym))
(default e ~',x)
(default e (string/format "%j" x))
~(do
(def ,xx ,x)
(,assert-no-tail ,xx ,e)