[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 4e9aaec 092/184: ivy-test: Fix tests using file names on W
From: |
Oleh Krehel |
Subject: |
[elpa] master 4e9aaec 092/184: ivy-test: Fix tests using file names on Windows |
Date: |
Wed, 16 Oct 2019 13:14:57 -0400 (EDT) |
branch: master
commit 4e9aaec5d7a0798bb553238ca94beb17060b91e4
Author: Nathan Moreau <address@hidden>
Commit: Oleh Krehel <address@hidden>
ivy-test: Fix tests using file names on Windows
Fixes #2217
---
ivy-test.el | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/ivy-test.el b/ivy-test.el
index cc6450d..e72c2c8 100644
--- a/ivy-test.el
+++ b/ivy-test.el
@@ -953,24 +953,24 @@ will bring the behavior in line with the newer Emacsen."
:failed
:passed)
(should
- (equal "/tmp/"
+ (equal (expand-file-name "/tmp/")
(ivy-with
'(read-directory-name "cd: " "/tmp")
"RET")))
(should
- (equal "/tmp"
+ (equal (expand-file-name "/tmp")
(ivy-with
'(read-directory-name "cd: ")
"C-M-j"
:dir "/tmp")))
(should
- (equal "/tmp/"
+ (equal (expand-file-name "/tmp/")
(ivy-with
'(read-directory-name "cd: ")
"tmp C-j C-M-j"
:dir "/")))
(should
- (equal "/"
+ (equal (expand-file-name "/")
(ivy-with
'(read-directory-name "cd: ")
"DEL C-M-j"
@@ -1049,7 +1049,7 @@ a buffer visiting a file."
nil nil)
"C-M-j"
:dir "/tmp/non-existant-dir/")
- "/tmp/non-existant-dir/")))
+ (expand-file-name "/tmp/non-existant-dir/"))))
(ert-deftest ivy-starts-with-dotslash ()
(should (ivy--starts-with-dotslash "./test1"))
- [elpa] master 5424a564 082/184: ivy.el (ivy--handle-directory): Extract, (continued)
- [elpa] master 5424a564 082/184: ivy.el (ivy--handle-directory): Extract, Oleh Krehel, 2019/10/16
- [elpa] master d73376f 010/184: ivy.el (ivy--trim-trailing-re): Add, Oleh Krehel, 2019/10/16
- [elpa] master 824f8d7 072/184: counsel.el (counsel--find-return-list): Works with or without "./" prefix, Oleh Krehel, 2019/10/16
- [elpa] master 4fef498 065/184: Use file-name-at-point-functions for file commands, Oleh Krehel, 2019/10/16
- [elpa] master 3d0fcb5 064/184: ivy.el (ivy-partial): Fix trailing space issue, Oleh Krehel, 2019/10/16
- [elpa] master 7dea040 066/184: ivy.el (ivy-pre-prompt-function): Add, Oleh Krehel, 2019/10/16
- [elpa] master cd7e924 077/184: ivy.el (ivy-read): Fix docstring, Oleh Krehel, 2019/10/16
- [elpa] master da7e546 085/184: ivy.el (ivy-previous-line-and-call): Fix typo, Oleh Krehel, 2019/10/16
- [elpa] master 03fdaea 087/184: doc/ivy.org: Add more recommended key bindings, Oleh Krehel, 2019/10/16
- [elpa] master 941d408 086/184: doc/ivy.org: Fix "C-M-n" description, Oleh Krehel, 2019/10/16
- [elpa] master 4e9aaec 092/184: ivy-test: Fix tests using file names on Windows,
Oleh Krehel <=
- [elpa] master 139816a 106/184: counsel.el (counsel-mark-ring): Add the latest mark to selection, Oleh Krehel, 2019/10/16
- [elpa] master 9592cba 101/184: ivy-hydra.el: Use ivy-read-action-by-key in hydra-ivy, Oleh Krehel, 2019/10/16
- [elpa] master 79333e9 099/184: counsel.el (counsel-fonts): Add, Oleh Krehel, 2019/10/16
- [elpa] master 89deb75 096/184: counsel.el (counsel-rg): When in dired, operate on marked files, Oleh Krehel, 2019/10/16
- [elpa] master 4cddec4 102/184: Respect counsel-describe-function-function from counsel-M-x, Oleh Krehel, 2019/10/16
- [elpa] master 42fedf5 116/184: counsel.el (counsel-file-stale-p): Extract, Oleh Krehel, 2019/10/16
- [elpa] master 0895c1a 113/184: Add key binding to allow switching directory in counsel-git-grep, Oleh Krehel, 2019/10/16
- [elpa] master d27eb38 119/184: counsel.el (counsel-git-grep): Change args order so counsel-cd works, Oleh Krehel, 2019/10/16
- [elpa] master 582c9d4 014/184: swiper.el (swiper--candidates): Don't store line number as a string, Oleh Krehel, 2019/10/16
- [elpa] master 4a44c9e 018/184: counsel.el (counsel--async-last-error-string): Add for ease of debugging, Oleh Krehel, 2019/10/16