emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master c09fcb8f07: `make-finalizer' now has to be called with a function


From: Lars Ingebrigtsen
Subject: master c09fcb8f07: `make-finalizer' now has to be called with a function, so adjust test
Date: Fri, 31 Dec 2021 10:51:04 -0500 (EST)

branch: master
commit c09fcb8f07c1fa6864a38c28e3f27298136b8b8e
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    `make-finalizer' now has to be called with a function, so adjust test
---
 test/src/alloc-tests.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/src/alloc-tests.el b/test/src/alloc-tests.el
index 5383c43603..80b18dfa49 100644
--- a/test/src/alloc-tests.el
+++ b/test/src/alloc-tests.el
@@ -30,7 +30,7 @@
 (require 'cl-lib)
 
 (ert-deftest finalizer-object-type ()
-  (should (equal (type-of (make-finalizer nil)) 'finalizer)))
+  (should (equal (type-of (make-finalizer #'ignore)) 'finalizer)))
 
 (ert-deftest record-1 ()
   (let ((x (record 'foo 1 2 3)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]