[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master d3ceff6 2/4: Quieten --without-json compilation of
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] master d3ceff6 2/4: Quieten --without-json compilation of json-tests.el |
Date: |
Fri, 9 Mar 2018 16:40:52 -0500 (EST) |
branch: master
commit d3ceff630ed723f3eef3c1f92e55a610d1c5ca5e
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>
Quieten --without-json compilation of json-tests.el
* test/src/json-tests.el (json-serialize, json-insert)
(json-parse-string, json-parse-buffer): Declare.
---
test/src/json-tests.el | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/test/src/json-tests.el b/test/src/json-tests.el
index 3bbf9eb..09067ba 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 ()