fix: print Infinity/-Infinity/NaN like Clojure (str and pr-str)
Numbers printed via Janet's (string v) rendered infinities/NaN as inf/-inf/nan. Add fmt-number so str/pr-str (and collection rendering) emit Infinity/-Infinity/ NaN. str.cljc 3->32 pass. Remaining str fails are the integer-valued-double divergence ((str 0.0) is "0" not "0.0" since 0.0 == 0 in Janet). spec: numbers/printing-of-inf-&-nan (5). jpm test green.
This commit is contained in:
parent
bcdace7543
commit
a4d9d5f70b
3 changed files with 20 additions and 3 deletions
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
# Baseline: assertions Jolt currently passes across the suite. Raise as Jolt
|
||||
# improves so a regression (previously-passing assertion breaking) is caught.
|
||||
(def baseline-pass 3660)
|
||||
(def baseline-pass 3680)
|
||||
# A file is "clean" when it ran with zero failures AND zero errors.
|
||||
(def baseline-clean-files 45)
|
||||
# Per-file wall-clock budget (seconds). Normal files finish in well under 1s;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue