projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d37d30c
)
Skip a json.c test unless functions being tested exist
author
João Távora
<joaotavora@gmail.com>
Tue, 19 Jun 2018 02:02:09 +0000
(
03:02
+0100)
committer
João Távora
<joaotavora@gmail.com>
Tue, 19 Jun 2018 02:02:09 +0000
(
03:02
+0100)
* test/src/json-tests.el
(json-parse-with-custom-null-and-false-objects): Skip this test
unless functions being tested exist.
test/src/json-tests.el
patch
|
blob
|
history
diff --git
a/test/src/json-tests.el
b/test/src/json-tests.el
index ffa6fe19f9b1394a43376dd4d6941c52fcfb17aa..8bd679b886ef8f57e4a6c86deae5e65dd8e5dfff 100644
(file)
--- a/
test/src/json-tests.el
+++ b/
test/src/json-tests.el
@@
-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