`make-finalizer' now has to be called with a function, so adjust test

This commit is contained in:
Lars Ingebrigtsen 2021-12-31 16:50:50 +01:00
parent db0cab990c
commit c09fcb8f07

View 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)))