Skip to content

Commit 8a4bd5d

Browse files
committed
Try to appease windows (shell-quoting)
1 parent c663ee9 commit 8a4bd5d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/cider-tests.el

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,17 +115,17 @@
115115
:to-equal nil)))
116116
(describe "for different path + script-name combinations"
117117
:var* ((paths `("/simple/path/"
118-
,(shell-quote-argument "/tmp/path/ with spaces/")
119-
,(shell-quote-argument "/ssh:!slightly@cra --zy!path #enrich me/")))
118+
,"/tmp/path/ with spaces/"
119+
,"/ssh:!slightly@cra --zy!path #enrich me/"))
120120
(simple-names (map-values cider--enrich-classpath-script-names))
121121
(tmp-names (mapcar (lambda (s) (cider--make-temp-name s)) simple-names))
122122
(all-names (seq-concatenate 'list simple-names tmp-names)))
123123
(cl-loop
124124
for path in paths do
125125
(cl-loop
126126
for name in all-names do
127-
(describe (format "cider--enriched-cmd-p with script: %s" (concat path name))
128-
:var ((script (concat path name)))
127+
(describe (format "cider--enriched-cmd-p with script: %s" (shell-quote-argument (concat path name)))
128+
:var ((script (shell-quote-argument (concat path name))))
129129
(it "is true in basic cases "
130130
(expect (cider--enriched-cmd-p (concat "bash " script " /usr/bin/lein"))
131131
:to-be-truthy)

0 commit comments

Comments
 (0)