[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master d073370: Test that module functions are functions.
From: |
Philipp Stephani |
Subject: |
[Emacs-diffs] master d073370: Test that module functions are functions. |
Date: |
Sun, 28 Jan 2018 14:21:01 -0500 (EST) |
branch: master
commit d0733704b3dfae0f9487b0d1d8814b6ac8081981
Author: Philipp Stephani <address@hidden>
Commit: Philipp Stephani <address@hidden>
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.
---
test/src/emacs-module-tests.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/src/emacs-module-tests.el b/test/src/emacs-module-tests.el
index 85d6305..162af21 100644
--- 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 "
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master d073370: Test that module functions are functions.,
Philipp Stephani <=