branch: elpa/buttercup commit b2985171b8f745c8edab3d6fccf72d036519ca86 Author: Ola Nilsson <ola.nils...@gmail.com> Commit: Ola Nilsson <ola.nils...@gmail.com>
test: Mark some local function arguments as unused --- tests/test-buttercup.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test-buttercup.el b/tests/test-buttercup.el index 2558b0a..6d2f9dc 100644 --- a/tests/test-buttercup.el +++ b/tests/test-buttercup.el @@ -98,8 +98,8 @@ 'buttercup-failed))) (describe "with a matcher argument" - (buttercup-define-matcher :always-true (a) t) - (buttercup-define-matcher :always-false (a) nil) + (buttercup-define-matcher :always-true (_a) t) + (buttercup-define-matcher :always-false (_a) nil) (it "should not raise an error if the matcher returns true" (expect (buttercup-expect (lambda () 1) :always-true) @@ -949,7 +949,7 @@ (describe ":and-call-fake keyword functionality" (before-each - (spy-on 'test-function :and-call-fake (lambda (a b) 1001))) + (spy-on 'test-function :and-call-fake (lambda (_a _b) 1001))) (it "tracks calls to the function" (test-function 42 23)