aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
authorGlenn Morris2018-03-09 16:38:02 -0500
committerGlenn Morris2018-03-09 16:38:02 -0500
commitd3ceff630ed723f3eef3c1f92e55a610d1c5ca5e (patch)
tree39e48b0bcb903bfedcc3b3eadc439adf62551e11 /test/src
parent01675be3871802374e27bb6597eab72d0717c1c4 (diff)
downloademacs-d3ceff630ed723f3eef3c1f92e55a610d1c5ca5e.tar.gz
emacs-d3ceff630ed723f3eef3c1f92e55a610d1c5ca5e.zip
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')
-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 @@
26(require 'cl-lib) 26(require 'cl-lib)
27(require 'map) 27(require 'map)
28 28
29(declare-function json-serialize "json.c" (object))
30(declare-function json-insert "json.c" (object))
31(declare-function json-parse-string "json.c" (string &rest args))
32(declare-function json-parse-buffer "json.c" (&rest args))
33
29(define-error 'json-tests--error "JSON test error") 34(define-error 'json-tests--error "JSON test error")
30 35
31(ert-deftest json-serialize/roundtrip () 36(ert-deftest json-serialize/roundtrip ()