Skip to content

Commit

Permalink
Expand result of read-directory-name
Browse files Browse the repository at this point in the history
* ivy.test.el (ivy-read-directory-name): Ensure result of
read-directory-name is expanded.
  • Loading branch information
basil-conto committed Sep 22, 2021
1 parent c9fdec4 commit 4de30b0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ivy-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -1080,9 +1080,10 @@ Since `execute-kbd-macro' doesn't pick up a let-bound `default-directory'.")
(unless (file-exists-p ivy-empty)
(make-directory ivy-empty))
(should (equal (expand-file-name ivy-empty)
(ivy-with
'(read-directory-name "cd: " ivy-empty nil t)
"RET")))
(expand-file-name
(ivy-with
'(read-directory-name "cd: " ivy-empty nil t)
"RET"))))
(should
(equal (expand-file-name "/tmp/")
(ivy-with
Expand Down

0 comments on commit 4de30b0

Please sign in to comment.