emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/iedit 2fff88fe5d 7/8: Fix a failed test case


From: ELPA Syncer
Subject: [nongnu] elpa/iedit 2fff88fe5d 7/8: Fix a failed test case
Date: Thu, 17 Feb 2022 04:58:34 -0500 (EST)

branch: elpa/iedit
commit 2fff88fe5d480089ef0b235901b3a5e4a1bcefc1
Author: Victor Ren <victorhge@gmail.com>
Commit: Victor Ren <victorhge@gmail.com>

    Fix a failed test case
    
    It failed when running not from iedit root folder.  Since the shell command
    relay on a correct default directory.
---
 iedit-tests.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/iedit-tests.el b/iedit-tests.el
index 29f7029fd2..f23832d535 100644
--- a/iedit-tests.el
+++ b/iedit-tests.el
@@ -37,6 +37,7 @@
 
 (ert-deftest iedit-batch-compile-test ()
   (with-temp-buffer
+       (cd (file-name-directory (locate-library "iedit-tests")))
        (call-process-shell-command "emacs -L . -Q --batch -f 
batch-byte-compile *.el" nil (current-buffer))
     (should (string= (buffer-string) "Iedit default key binding is C-;
 Iedit-rect default key binding is <C-x> <r> <;>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]