From 7b563dd802addd39e26140ffdfd84a5c20669f11 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Fri, 23 Sep 2022 21:18:52 +0200 Subject: [PATCH] exec-test [skip ci] --- test/babashka/exec_test.clj | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/babashka/exec_test.clj b/test/babashka/exec_test.clj index 4ff54716..b3626a0a 100644 --- a/test/babashka/exec_test.clj +++ b/test/babashka/exec_test.clj @@ -14,3 +14,9 @@ (is (= {:foo 1} (cheshire/parse-string (edn/read-string (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"))))))