branch: master commit 4e9aaec5d7a0798bb553238ca94beb17060b91e4 Author: Nathan Moreau <nathan.mor...@m4x.org> Commit: Oleh Krehel <ohwoeo...@gmail.com>
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"))