From 959da753428ff467616dd11e37587f5c5d24779f Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 27 Feb 2026 15:29:16 +0200 Subject: [PATCH] ; * test/src/data-tests.el (data-tests-native-comp-unit): Fix test. --- test/src/data-tests.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/src/data-tests.el b/test/src/data-tests.el index a46abb8ef9b..c64a8a98725 100644 --- a/test/src/data-tests.el +++ b/test/src/data-tests.el @@ -133,7 +133,7 @@ this is exactly representable and is greater than (ert-deftest data-tests-native-comp-unit () (skip-unless (fboundp 'subr-native-comp-unit)) - (let ((unit (subr-native-comp-unit #'car))) + (let ((unit (subr-native-comp-unit (symbol-function 'symbol-file)))) (skip-unless unit) (let ((orig (native-comp-unit-file unit))) (native-comp-unit-set-file unit "data-tests-unit")