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

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

[elpa] master 3b1a25b 331/399: ivy-test.el (counsel-find-file-with-dotfi


From: Oleh Krehel
Subject: [elpa] master 3b1a25b 331/399: ivy-test.el (counsel-find-file-with-dotfiles): Fix
Date: Sat, 20 Jul 2019 14:57:51 -0400 (EDT)

branch: master
commit 3b1a25bc7aefeab306d4511560d8acad6e26b190
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    ivy-test.el (counsel-find-file-with-dotfiles): Fix
    
    The test was failing because a directory was missing from Git.  I
    thought it was added, since the worktree showed up clean, but the
    directory was empty, that's why Git was ignoring it.
    
    ivy-test.el (counsel--setup-test-files): Update
---
 ivy-test.el | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/ivy-test.el b/ivy-test.el
index 589252f..17d7166 100644
--- a/ivy-test.el
+++ b/ivy-test.el
@@ -1162,7 +1162,7 @@ a buffer visiting a file."
     (shell-command
      "git clone -b test --single-branch https://github.com/abo-abo/swiper/ 
tests"))
   (let ((default-directory (expand-file-name "tests/"))
-        (version "935fde0"))
+        (version "066ec1d"))
     (shell-command
      (format "git checkout %s || git fetch && git checkout %s" version 
version))))
 
@@ -1175,11 +1175,6 @@ a buffer visiting a file."
            "tests/find-file/files-with-dollar/foo$")))
 
 (ert-deftest counsel-find-file-with-dotfiles ()
-  ;; This should be `skip-unless' instead,
-  ;; but it was only added in Emacs 24.4.
-  :expected-result (if (= emacs-major-version 26)
-                       :passed
-                     :failed)
   (counsel--setup-test-files)
   (should (string=
            (file-relative-name



reply via email to

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