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:
parent
79f68597ab
commit
ca3932121a
@ -129,6 +129,7 @@ uniquify-trailing-separator-p is ignored"
|
|||||||
(require 'project)
|
(require 'project)
|
||||||
(ert-deftest uniquify-project-transform ()
|
(ert-deftest uniquify-project-transform ()
|
||||||
"`project-uniquify-dirname-transform' works"
|
"`project-uniquify-dirname-transform' works"
|
||||||
|
(skip-unless (project-current nil source-directory))
|
||||||
(let ((uniquify-dirname-transform #'project-uniquify-dirname-transform)
|
(let ((uniquify-dirname-transform #'project-uniquify-dirname-transform)
|
||||||
(project-vc-name "foo1/bar")
|
(project-vc-name "foo1/bar")
|
||||||
bufs)
|
bufs)
|
||||||
|
Loading…
Reference in New Issue
Block a user