Skip to content

Commit

Permalink
tweak tests for when they are run from babashka
Browse files Browse the repository at this point in the history
Since we no longer always absolutize and normalize the resolved program,
revert a tweak I introduced in this PR.
  • Loading branch information
lread committed Jul 26, 2024
1 parent 7fe7ce3 commit 1abe118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/babashka/process_test.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"For the purposes of these tests, we sometimes need to expect how babashka process will resolve an exe for :cmd."
[exe]
(if (fs/windows?)
(-> exe fs/which fs/absolutize fs/normalize str)
(-> exe fs/which str)
exe))

(deftest tokenize-test
Expand Down

0 comments on commit 1abe118

Please sign in to comment.