Add core-lib remove-hook-forms test
This commit is contained in:
parent
4d487c3e0f
commit
1e47728430
1 changed files with 7 additions and 0 deletions
|
@ -41,6 +41,13 @@
|
|||
(should (null hooks-b))
|
||||
(should (null hooks-c))))
|
||||
|
||||
(ert-deftest remove-hook-forms ()
|
||||
(let (hooks)
|
||||
(add-hook! 'hooks (message "Hello world"))
|
||||
(should hooks)
|
||||
(remove-hook! 'hooks (message "Hello world"))
|
||||
(should (null hooks))))
|
||||
|
||||
;; `add-transient-hook!'
|
||||
(ert-deftest transient-hooks ()
|
||||
(let (hooks value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue