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)))))