exec-test [skip ci]

This commit is contained in:
Michiel Borkent 2022-09-23 21:18:52 +02:00
parent 2ff0304821
commit 7b563dd802

View file

@ -14,3 +14,9 @@
(is (= {:foo 1} (cheshire/parse-string (is (= {:foo 1} (cheshire/parse-string
(edn/read-string (edn/read-string
(bb "-x" "cheshire.core/generate-string" "--foo" "1")) true)))) (bb "-x" "cheshire.core/generate-string" "--foo" "1")) true))))
(deftest tag-test
(u/with-config
"{:deps {}
:tasks {foo (exec 'clojure.core/prn)}}"
(is (= {:dude 1} (edn/read-string (bb "run" "foo" "--dude" "1"))))))