mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-17 10:06:13 +00:00
Skip a json.c test unless functions being tested exist
* test/src/json-tests.el (json-parse-with-custom-null-and-false-objects): Skip this test unless functions being tested exist.
This commit is contained in:
parent
d37d30cef5
commit
1e2e48c13c
@ -210,6 +210,8 @@ Test with both unibyte and multibyte strings."
|
||||
(should (looking-at-p (rx " [456]" eos)))))
|
||||
|
||||
(ert-deftest json-parse-with-custom-null-and-false-objects ()
|
||||
(skip-unless (and (fboundp 'json-serialize)
|
||||
(fboundp 'json-parse-string)))
|
||||
(let* ((input
|
||||
"{ \"abc\" : [9, false] , \"def\" : null }")
|
||||
(output
|
||||
|
Loading…
Reference in New Issue
Block a user