diff --git a/test/lisp/uniquify-tests.el b/test/lisp/uniquify-tests.el index 4124ce056d3..9b33c9d7d47 100644 --- a/test/lisp/uniquify-tests.el +++ b/test/lisp/uniquify-tests.el @@ -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)