From c09fcb8f07c1fa6864a38c28e3f27298136b8b8e Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 31 Dec 2021 16:50:50 +0100 Subject: [PATCH] `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 5383c436035..80b18dfa492 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))) -- 2.39.2