Skip to content

Commit 957cdca

Browse files
committed
Make minibuffer-tests work in out-of-tree builds (bug#38816)
* test/lisp/minibuffer-tests.el (completion-table-test-quoting): Set default-directory.
1 parent 2065316 commit 957cdca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/lisp/minibuffer-tests.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@
8282

8383
(ert-deftest completion-table-test-quoting ()
8484
(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)))
8687
(pcase-dolist (`(,input ,output)
8788
'(
8889
;; Test that $ in files is properly $$ quoted.

0 commit comments

Comments
 (0)