Skip to content

Commit 3cdf7d7

Browse files
committed
Fix for testing from babashka project
Can't tell you how I missed undoing a check against absolutized version of an exe, but glad babashka CI didn't miss it! Addendum for babashka#165
1 parent 264e950 commit 3cdf7d7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/babashka/process_exec_test.clj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,7 @@
159159
(deftest pre-start-fn-test
160160
;; shows that pre-start-fn is active and that executable is resolved
161161
(when-let [bb (u/find-bb)]
162-
(is (= {:out (u/ols (format "Pre-start-fn output {:cmd [%s %s :out foobar]}\nfoobar\n"
163-
(-> bb fs/which fs/absolutize fs/normalize)
164-
u/wd))
162+
(is (= {:out (u/ols (format "Pre-start-fn output {:cmd [%s %s :out foobar]}\nfoobar\n" (fs/which bb) u/wd))
165163
:err ""
166164
:exit 0 }
167165
;; runner will always used a canned pre-start-fn, this should excercise the feature

0 commit comments

Comments
 (0)