Skip to content

Commit

Permalink
dired-rsync-ert: fix excessive quoting
Browse files Browse the repository at this point in the history
This obviously bitrotted while CI was broken. Weirdly manually running
all the tests had worked.
  • Loading branch information
stsquad committed Jul 13, 2023
1 parent dffedca commit b8d03a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dired-rsync-ert.el
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@
(ert-deftest dired-rsync-test-quote-and-maybe-convert-from-tramp ()
"Test quote and maybe convert from tramp defun"
;; test against regression of issue #26: missing username in rsync command
(should (string-equal "[email protected]:\"/blat/blot/\""
(should (string-equal "[email protected]:/blat/blot/"
(dired-rsync--quote-and-maybe-convert-from-tramp "/scp:[email protected]:/blat/blot/")))
(should (string-equal "192.168.1.1:\"/blat/blot/\""
(should (string-equal "192.168.1.1:/blat/blot/"
(dired-rsync--quote-and-maybe-convert-from-tramp "/scp:192.168.1.1:/blat/blot/"))))

(ert-deftest dired-rsync-test-remote-port()
Expand Down

0 comments on commit b8d03a8

Please sign in to comment.