]> git.eshelyaron.com Git - emacs.git/commitdiff
`make-finalizer' now has to be called with a function, so adjust test
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 31 Dec 2021 15:50:50 +0000 (16:50 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 31 Dec 2021 15:50:50 +0000 (16:50 +0100)
test/src/alloc-tests.el

index 5383c4360356f51c59dba7ec0c3e4bd74249cb27..80b18dfa492b4db9f606618cef98a137ad48de63 100644 (file)
@@ -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)))