Quieten --without-json compilation of json-tests.el

* test/src/json-tests.el (json-serialize, json-insert)
(json-parse-string, json-parse-buffer): Declare.
This commit is contained in:
Glenn Morris 2018-03-09 16:38:02 -05:00
parent 01675be387
commit d3ceff630e

View file

@ -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 ()