[#914] Fix cache dir
This commit is contained in:
parent
1efed2c3c7
commit
432680b2f3
3 changed files with 7 additions and 2 deletions
2
deps.clj
2
deps.clj
|
|
@ -1 +1 @@
|
|||
Subproject commit ebf1a6701f9db58da8345ae608dadb0602e79228
|
||||
Subproject commit 435a7cc2088524edab734d2a89c2b5521e5e9fd9
|
||||
1
test-resources/clojure-dir-test/deps.edn
Normal file
1
test-resources/clojure-dir-test/deps.edn
Normal file
|
|
@ -0,0 +1 @@
|
|||
{:deps {medley/medley {:mvn/version "1.3.0"}}}
|
||||
|
|
@ -56,4 +56,8 @@ true
|
|||
(babashka.deps/clojure [\"-Sresolve-tags\"])
|
||||
"))))
|
||||
(is (true? (bb "
|
||||
(= 5 (:exit @(babashka.deps/clojure [] {:in \"(System/exit 5)\" :out :string})))"))))
|
||||
(= 5 (:exit @(babashka.deps/clojure [] {:in \"(System/exit 5)\" :out :string})))")))
|
||||
(testing "start from other directory"
|
||||
(is (= {1 {:id 1}, 2 {:id 2}}
|
||||
(edn/read-string (bb "
|
||||
(:out @(babashka.deps/clojure [\"-M\" \"-e\" \"(require 'medley.core) (medley.core/index-by :id [{:id 1} {:id 2}])\"] {:out :string :dir \"test-resources/clojure-dir-test\"}))"))))))
|
||||
|
|
|
|||
Loading…
Reference in a new issue