diff options
| author | Mattias EngdegÄrd | 2019-12-30 15:40:13 +0100 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2019-12-30 21:01:14 +0100 |
| commit | 957cdca6f0dd203547277ad1d11ecda9dce82b06 (patch) | |
| tree | 84d15edb11d5343f6188e26d73b0c2f75f7053a2 | |
| parent | 206531674947789841a61bd428dd6babce933a0d (diff) | |
| download | emacs-957cdca6f0dd203547277ad1d11ecda9dce82b06.tar.gz emacs-957cdca6f0dd203547277ad1d11ecda9dce82b06.zip | |
Make minibuffer-tests work in out-of-tree builds (bug#38816)
* test/lisp/minibuffer-tests.el (completion-table-test-quoting):
Set default-directory.
| -rw-r--r-- | test/lisp/minibuffer-tests.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lisp/minibuffer-tests.el b/test/lisp/minibuffer-tests.el index 6b297244214..0605bad901a 100644 --- a/test/lisp/minibuffer-tests.el +++ b/test/lisp/minibuffer-tests.el | |||
| @@ -82,7 +82,8 @@ | |||
| 82 | 82 | ||
| 83 | (ert-deftest completion-table-test-quoting () | 83 | (ert-deftest completion-table-test-quoting () |
| 84 | (let ((process-environment | 84 | (let ((process-environment |
| 85 | `("CTTQ1=ed" "CTTQ2=et/" ,@process-environment))) | 85 | `("CTTQ1=ed" "CTTQ2=et/" ,@process-environment)) |
| 86 | (default-directory (expand-file-name "test" source-directory))) | ||
| 86 | (pcase-dolist (`(,input ,output) | 87 | (pcase-dolist (`(,input ,output) |
| 87 | '( | 88 | '( |
| 88 | ;; Test that $ in files is properly $$ quoted. | 89 | ;; Test that $ in files is properly $$ quoted. |