Skip to content

Commit

Permalink
TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Jan 3, 2024
1 parent 280ee9f commit 0c4b34a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/babashka/cli_test.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,11 @@
(testing "spec can be overriden"
(d/deflet
(def table [{:cmds ["foo" "bar"] :fn identity :spec {:version {:coerce :string}}}
{:cmds ["foo"] :fn identity :spec {:version {:coerce :boolean}
:dude {:coerce :boolean}}}])
{:cmds ["foo"] :fn identity
:spec {:version {:coerce :boolean}
:dude {:coerce :boolean}}
;; TODO
:args->opts [:some-option]}])
(is (submap? {:opts {:version true}, :args ["2010"]}
(cli/dispatch
table
Expand Down

0 comments on commit 0c4b34a

Please sign in to comment.