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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue