projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70831c8
)
Test that module functions are functions.
author
Philipp Stephani
<phst@google.com>
Sun, 28 Jan 2018 19:20:07 +0000
(20:20 +0100)
committer
Philipp Stephani
<phst@google.com>
Sun, 28 Jan 2018 19:20:07 +0000
(20:20 +0100)
* test/src/emacs-module-tests.el (module-function-object): Verify that
a module function is treated as a function.
test/src/emacs-module-tests.el
patch
|
blob
|
history
diff --git
a/test/src/emacs-module-tests.el
b/test/src/emacs-module-tests.el
index 85d63053867b75f4d5ed39c05298dbb5e2888455..162af21bbec864672924e1160036d91481d5ea48 100644
(file)
--- a/
test/src/emacs-module-tests.el
+++ b/
test/src/emacs-module-tests.el
@@
-72,6
+72,7
@@
This test needs to be changed whenever the implementation
changes."
(let ((func (symbol-function #'mod-test-sum)))
(should (module-function-p func))
+ (should (functionp func))
(should (equal (type-of func) 'module-function))
(should (string-match-p
(rx bos "#<module function "