remove dash

This commit is contained in:
Michiel Borkent 2021-03-26 19:06:08 +01:00
parent 518e430930
commit 283d6db591
2 changed files with 3 additions and 3 deletions

View file

@ -181,7 +181,7 @@ Use -- to separate script command line args from bb command line args.
(doseq [[k v] tasks]
(println (str (format fmt k)
(when-let [d (:description (meta v))]
(str " - " d)))))
(str " " d)))))
(println)
(println "Run bb :help <task> to view help of a specific task.")
[nil 0]))

View file

@ -122,8 +122,8 @@ Addition is a pretty advanced topic. Let us start with the identity element
(let [res (apply test-utils/bb nil
(map str [:tasks]))]
(is (str/includes? res "The following tasks are available:"))
(is (str/includes? res ":task-1 - Return the"))
(is (str/includes? res ":cool-task-2 - Return the")))))
(is (str/includes? res ":task-1 Return the"))
(is (str/includes? res ":cool-task-2 Return the")))))
(deftest main-task-test
(with-config {:paths ["test-resources/task_scripts"]