Skip to content

Commit 1f6e108

Browse files
committed
fix windows
1 parent 6ebcf1f commit 1f6e108

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/babashka/bbin/scripts_test.clj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828

2929
(deftest local-lib-path-test
3030
(let [script-deps {'io.github.example/foo {:git/sha "abc123"}}
31-
expected-suffix "libs/io.github.example/foo/abc123"
32-
home-gitlibs (str (fs/path (fs/home) ".gitlibs") "/" expected-suffix)
33-
custom-gitlibs (str "/custom/gitlibs/" expected-suffix)]
31+
expected-suffix ["libs" "io.github.example" "foo" "abc123"]
32+
home-gitlibs (str (apply fs/path (fs/home) ".gitlibs" expected-suffix))
33+
custom-gitlibs (str (apply fs/path "/custom/gitlibs/" expected-suffix))]
3434
(testing "uses ~/.gitlibs when GITLIBS is empty"
3535
(is (= home-gitlibs
3636
(str (common/local-lib-path script-deps "")))))

0 commit comments

Comments
 (0)