Skip to content

Commit

Permalink
Add tests for bad stringification and update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Zulu-Inuoe committed Mar 26, 2024
1 parent c81fd0a commit e92bbb7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Changes relative to [v1.1.3](#v113)

* Skip optional failing unit test on ECL (https://github.com/Zulu-Inuoe/jzon/issues/59)
* CLISP suport by removing PLN usage (https://github.com/Zulu-Inuoe/jzon/issues/53)
* Fix bogus float serialization for certain floats (thanks https://github.com/atgreen)

## v1.1.3

Expand Down
5 changes: 5 additions & 0 deletions test/jzon-tests.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -1530,6 +1530,11 @@
t))
(nreverse called-on)))))

;; This lies in (or (< e10 -3) (>= e10 7)) for schubfach
;; where we previously were generating garbage strings
(test stringify-1.0e-4
(is (equalp "1.0e-4" (stringify 1.0e-4))))

(def-suite jzon.json-checker :in jzon)

(in-suite jzon.json-checker)
Expand Down

0 comments on commit e92bbb7

Please sign in to comment.