Skip to content

Commit

Permalink
manually constructing urls not recommended
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Jun 12, 2024
1 parent eb133c0 commit d13d814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/babashka/bbin/scripts/local_file_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
(tu/reset-test-dir)
(dirs/ensure-bbin-dirs {})
(let [script-file (fs/file tu/test-dir "hello.clj")
script-url (str "file://" script-file)]
script-url (str "file://" (fs/unixify script-file))]
(spit script-file "#!/usr/bin/env bb\n(println \"Hello world\")")
(tu/run-install {:script/lib (str script-file)})
(is (= "Hello world" (tu/run-bin-script :hello)))
Expand Down

0 comments on commit d13d814

Please sign in to comment.