Fix files-tests broken by a recent change
* test/lisp/files-tests.el (files-tests-safe-local-variable-directories): Fix this test: since we are now using 'file-equal-p' the directory used as a safe one should actually exist. (Bug#61901)
This commit is contained in:
parent
e535494491
commit
3e132b972e
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ form.")
|
|||
;; safe-local-variable-directories should be risky,
|
||||
;; so use it as an arbitrary risky variable.
|
||||
(let ((test-alist '((safe-local-variable-directories . "some_val")))
|
||||
(fakedir "/test1/test2/")
|
||||
(fakedir default-directory)
|
||||
(enable-local-eval t))
|
||||
(with-temp-buffer
|
||||
(setq safe-local-variable-directories (list fakedir))
|
||||
|
|
Loading…
Add table
Reference in a new issue