diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2024-12-16 10:35:00 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2024-12-16 10:35:08 +0100 |
| commit | f1e9b67c749ef12fe526dbe183c5f10da492fc88 (patch) | |
| tree | 9a88e3ca37225fcfc46201a5bbc682b687ff6f6a /compat-tests.el | |
| parent | 3626216e7665bfe20f41f9b3d6bbeb1a7de2b1a6 (diff) | |
compat-30: Rename trusted-content variable
Diffstat (limited to 'compat-tests.el')
| -rw-r--r-- | compat-tests.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/compat-tests.el b/compat-tests.el index b8ae0c1..0aa4e8f 100644 --- a/compat-tests.el +++ b/compat-tests.el @@ -3235,11 +3235,11 @@ (ert-deftest compat-untrusted-content () (should (local-variable-if-set-p 'untrusted-content))) -(ert-deftest compat-trusted-files () +(ert-deftest compat-trusted-content () (static-if (< emacs-major-version 30) ;; TODO reenable on Emacs 30 (progn - (should (boundp 'trusted-files)) - (should (risky-local-variable-p 'trusted-files))))) + (should (boundp 'trusted-content)) + (should (risky-local-variable-p 'trusted-content))))) (ert-deftest compat-trusted-content-p () (static-if (< emacs-major-version 30) ;; TODO reenable on Emacs 30 @@ -3251,11 +3251,11 @@ (let ((buffer-file-truename (expand-file-name "compat-tests.el"))) (should-not (trusted-content-p))) (let ((buffer-file-truename (expand-file-name "compat-tests.el")) - (trusted-files '("compat-tests.el"))) + (trusted-content '("compat-tests.el"))) (should (trusted-content-p))) (let ((untrusted-content t) (buffer-file-truename (expand-file-name "compat-tests.el")) - (trusted-files '("compat-tests.el"))) + (trusted-content '("compat-tests.el"))) (should-not (trusted-content-p)))))) (provide 'compat-tests) |
