diff options
| author | Mattias EngdegÄrd | 2024-09-13 12:13:53 +0200 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2024-09-13 12:17:17 +0200 |
| commit | ca3932121a893df3c4b08dbe11f2c002da4a421f (patch) | |
| tree | 542bed5e2c1862837b5b95ee2f11d63607ccda90 | |
| parent | 79f68597abade27939397e0c2a50eec833e64daf (diff) | |
| download | emacs-ca3932121a893df3c4b08dbe11f2c002da4a421f.tar.gz emacs-ca3932121a893df3c4b08dbe11f2c002da4a421f.zip | |
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).
| -rw-r--r-- | test/lisp/uniquify-tests.el | 1 |
1 files changed, 1 insertions, 0 deletions
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" | |||
| 129 | (require 'project) | 129 | (require 'project) |
| 130 | (ert-deftest uniquify-project-transform () | 130 | (ert-deftest uniquify-project-transform () |
| 131 | "`project-uniquify-dirname-transform' works" | 131 | "`project-uniquify-dirname-transform' works" |
| 132 | (skip-unless (project-current nil source-directory)) | ||
| 132 | (let ((uniquify-dirname-transform #'project-uniquify-dirname-transform) | 133 | (let ((uniquify-dirname-transform #'project-uniquify-dirname-transform) |
| 133 | (project-vc-name "foo1/bar") | 134 | (project-vc-name "foo1/bar") |
| 134 | bufs) | 135 | bufs) |