Skip to content

Commit 700dfbb

Browse files
committed
test: Remove matcher-function var from :to-be-truthy spec
The matcher-function variable was only ever set, not used for anything.
1 parent 76774d3 commit 700dfbb

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/test-buttercup.el

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -379,9 +379,6 @@ before it's processed by other functions."
379379

380380
(describe "The included matcher"
381381
(describe ":to-be-truthy"
382-
:var (matcher-function)
383-
(before-all
384-
(setq matcher-function (buttercup--find-matcher-function :to-be-truthy)))
385382
(it "should match for a truthy expression"
386383
(expect (buttercup--apply-matcher :to-be-truthy
387384
(mapcar #'buttercup--wrap-expr-and-eval '((not nil))))

0 commit comments

Comments
 (0)