]> git.eshelyaron.com Git - emacs.git/commitdiff
Make minibuffer-tests work in out-of-tree builds (bug#38816)
authorMattias Engdegård <mattiase@acm.org>
Mon, 30 Dec 2019 14:40:13 +0000 (15:40 +0100)
committerMattias Engdegård <mattiase@acm.org>
Mon, 30 Dec 2019 20:01:14 +0000 (21:01 +0100)
* test/lisp/minibuffer-tests.el (completion-table-test-quoting):
Set default-directory.

test/lisp/minibuffer-tests.el

index 6b297244214cac966001a99f844abe2f400d3ad8..0605bad901a4b899a6c335b63cc93e811563878c 100644 (file)
@@ -82,7 +82,8 @@
 
 (ert-deftest completion-table-test-quoting ()
   (let ((process-environment
-         `("CTTQ1=ed" "CTTQ2=et/" ,@process-environment)))
+         `("CTTQ1=ed" "CTTQ2=et/" ,@process-environment))
+        (default-directory (expand-file-name "test" source-directory)))
     (pcase-dolist (`(,input ,output)
                    '(
                      ;; Test that $ in files is properly $$ quoted.