branch: elpa/buttercup commit 700dfbb569b52bab7b0c93b5772a47fe8ddc9a73 Author: Ola Nilsson <ola.nils...@gmail.com> Commit: Ola Nilsson <ola.nils...@gmail.com>
test: Remove matcher-function var from :to-be-truthy spec The matcher-function variable was only ever set, not used for anything. --- tests/test-buttercup.el | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/test-buttercup.el b/tests/test-buttercup.el index 3a99fede1e..a5640da6aa 100644 --- a/tests/test-buttercup.el +++ b/tests/test-buttercup.el @@ -379,9 +379,6 @@ before it's processed by other functions." (describe "The included matcher" (describe ":to-be-truthy" - :var (matcher-function) - (before-all - (setq matcher-function (buttercup--find-matcher-function :to-be-truthy))) (it "should match for a truthy expression" (expect (buttercup--apply-matcher :to-be-truthy (mapcar #'buttercup--wrap-expr-and-eval '((not nil))))