We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ebcf1f commit 1f6e108Copy full SHA for 1f6e108
test/babashka/bbin/scripts_test.clj
@@ -28,9 +28,9 @@
28
29
(deftest local-lib-path-test
30
(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)]
+ expected-suffix ["libs" "io.github.example" "foo" "abc123"]
+ home-gitlibs (str (apply fs/path (fs/home) ".gitlibs" expected-suffix))
+ custom-gitlibs (str (apply fs/path "/custom/gitlibs/" expected-suffix))]
34
(testing "uses ~/.gitlibs when GITLIBS is empty"
35
(is (= home-gitlibs
36
(str (common/local-lib-path script-deps "")))))
0 commit comments