1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-21 06:55:39 +00:00

Don't fail uniquify-tests in non-version-controlled source trees

* test/lisp/uniquify-tests.el (uniquify-project-transform):
Skip test if there is no project (bug#73205).
This commit is contained in:
Mattias Engdegård 2024-09-13 12:13:53 +02:00
parent 79f68597ab
commit ca3932121a

View File

@ -129,6 +129,7 @@ uniquify-trailing-separator-p is ignored"
(require 'project)
(ert-deftest uniquify-project-transform ()
"`project-uniquify-dirname-transform' works"
(skip-unless (project-current nil source-directory))
(let ((uniquify-dirname-transform #'project-uniquify-dirname-transform)
(project-vc-name "foo1/bar")
bufs)