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

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

[elpa] master 967d046 091/184: ivy-test.el (counsel-yank-pop): Fix on Wi


From: Oleh Krehel
Subject: [elpa] master 967d046 091/184: ivy-test.el (counsel-yank-pop): Fix on Windows
Date: Wed, 16 Oct 2019 13:14:57 -0400 (EDT)

branch: master
commit 967d046286c56db506963a21496fbddeb316295d
Author: Nathan Moreau <address@hidden>
Commit: Oleh Krehel <address@hidden>

    ivy-test.el (counsel-yank-pop): Fix on Windows
---
 ivy-test.el | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/ivy-test.el b/ivy-test.el
index 0cbf66e..cc6450d 100644
--- a/ivy-test.el
+++ b/ivy-test.el
@@ -1008,14 +1008,15 @@ will bring the behavior in line with the newer Emacsen."
              (kill-buffer temp-buffer))))))
 
 (ert-deftest counsel-yank-pop ()
-  (let ((kill-ring '("foo")))
-    (should (equal
-             (ivy-with-temp-buffer '(counsel-yank-pop) "C-m")
-             '(4 "foo")))
-    (let ((counsel-yank-pop-after-point t))
-      (should (equal
-               (ivy-with-temp-buffer '(counsel-yank-pop) "C-m")
-               '(1 "foo"))))))
+  (should (equal
+           (let ((kill-ring '("foo")))
+             (ivy-with-temp-buffer '(counsel-yank-pop) "C-m"))
+           '(4 "foo")))
+  (should (equal
+           (let ((kill-ring '("foo"))
+                 (counsel-yank-pop-after-point t))
+             (ivy-with-temp-buffer '(counsel-yank-pop) "C-m"))
+           '(1 "foo"))))
 
 (ert-deftest ivy-read-file-name-in-buffer-visiting-file ()
   "Test `ivy-immediate-done' command in `read-file-name' without any editing in



reply via email to

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