Skip to content

Commit f01807e

Browse files
committed
fix test when using ssh.username
1 parent d756afe commit f01807e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/clj_ssh/ssh_test.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,9 +375,9 @@ list, Alan Dipert and MeikelBrandmeyer."
375375

376376

377377
(defn test-sftp-transient-with [channel & options]
378-
(let [dir (sftp channel :ls "/")]
378+
(let [dir (apply sftp channel :ls "/" options)]
379379
(apply sftp channel :cd "/" options)
380-
(is (not= "/" (sftp channel :pwd)))
380+
(is (not= "/" (apply sftp channel :pwd options)))
381381
(let [tmpfile1 (java.io.File/createTempFile "clj-ssh" "test")
382382
tmpfile2 (java.io.File/createTempFile "clj-ssh" "test")
383383
file1 (.getPath tmpfile1)

0 commit comments

Comments
 (0)