Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
devth committed Aug 4, 2024
1 parent 97140ec commit 402a11b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/yetibot/core/test/interpreter.clj
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@
(facts
"about handle-cmd"
(fact
"handles legit echo command and returns command args"
(i/handle-cmd "echo hello world" {}) => "hello world")
"handles legit echo command and returns command args"
(i/handle-cmd "echo hello world" {}) =>
{:result/value "hello world"
:result/data {:args "hello world" :cmd "echo" :match "hello world"})
(fact
"handles un-handleable non-legit 'somerandom' command with fallback? true"
(i/handle-cmd "somerandom command" {:fallback? true})
Expand Down

0 comments on commit 402a11b

Please sign in to comment.