summaryrefslogtreecommitdiff
path: root/test/src/json-tests.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2018-03-09 16:38:02 -0500
committerGlenn Morris <rgm@gnu.org>2018-03-09 16:38:02 -0500
commitd3ceff630ed723f3eef3c1f92e55a610d1c5ca5e (patch)
tree39e48b0bcb903bfedcc3b3eadc439adf62551e11 /test/src/json-tests.el
parent01675be3871802374e27bb6597eab72d0717c1c4 (diff)
downloademacs-d3ceff630ed723f3eef3c1f92e55a610d1c5ca5e.tar.gz
Quieten --without-json compilation of json-tests.el
* test/src/json-tests.el (json-serialize, json-insert) (json-parse-string, json-parse-buffer): Declare.
Diffstat (limited to 'test/src/json-tests.el')
-rw-r--r--test/src/json-tests.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/src/json-tests.el b/test/src/json-tests.el
index 3bbf9eb96b0..09067bad8c8 100644
--- a/test/src/json-tests.el
+++ b/test/src/json-tests.el
@@ -26,6 +26,11 @@
(require 'cl-lib)
(require 'map)
+(declare-function json-serialize "json.c" (object))
+(declare-function json-insert "json.c" (object))
+(declare-function json-parse-string "json.c" (string &rest args))
+(declare-function json-parse-buffer "json.c" (&rest args))
+
(define-error 'json-tests--error "JSON test error")
(ert-deftest json-serialize/roundtrip ()