Commit d0733704 authored by Philipp Stephani's avatar Philipp Stephani

Test that module functions are functions.

* test/src/emacs-module-tests.el (module-function-object): Verify that
a module function is treated as a function.
parent 70831c8f
......@@ -72,6 +72,7 @@ This test needs to be changed whenever the implementation
(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 "
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment