From 3750ea0459fb018bcb9647abea3e86f68c3f2b85 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Sat, 20 Mar 2021 14:49:41 +0100 Subject: [PATCH] wip --- test/babashka/bb_edn_test.clj | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/babashka/bb_edn_test.clj b/test/babashka/bb_edn_test.clj index 256cd594..389745a1 100644 --- a/test/babashka/bb_edn_test.clj +++ b/test/babashka/bb_edn_test.clj @@ -88,3 +88,9 @@ :all {:task/type :babashka :args [:do :div-by-zero :or-do :sum]}}} (is (= 6 (bb :all)))))) + +(deftest priotize-user-task-test + (is (map? (bb :describe))) + (with-config {:tasks {:describe {:task/type :babashka + :args ["-e" "(+ 1 2 3)"]}}} + (is (= 6 (bb :describe)))))