]> git.eshelyaron.com Git - emacs.git/commit
JSON: Add tests for Unicode edge cases
authorPhilipp Stephani <phst@google.com>
Mon, 18 Dec 2017 23:07:45 +0000 (00:07 +0100)
committerPhilipp Stephani <phst@google.com>
Mon, 18 Dec 2017 23:10:24 +0000 (00:10 +0100)
commit994ce51b28384bb2ea7a88248a105fcdc7c53a7b
treee25f0ec86fcb30b2b0ffb827f4aa04446de785eb
parent9685774e38dc6f5670c8e57dc9f49335f4f738b6
JSON: Add tests for Unicode edge cases

* test/src/json-tests.el (json-serialize/string): Add test for
serializing the null character.
(json-parse-string/null): Add test for parsing the null character.
(json-serialize/invalid-unicode): Add tests for invalid Unicode
strings.
(json-serialize/roundtrip): Add Unicode
noncharacter, non-BMP characters, and syntactic characters.
test/src/json-tests.el