emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/buttercup b298517 262/340: test: Mark some local function


From: ELPA Syncer
Subject: [nongnu] elpa/buttercup b298517 262/340: test: Mark some local function arguments as unused
Date: Thu, 16 Dec 2021 14:59:47 -0500 (EST)

branch: elpa/buttercup
commit b2985171b8f745c8edab3d6fccf72d036519ca86
Author: Ola Nilsson <ola.nilsson@gmail.com>
Commit: Ola Nilsson <ola.nilsson@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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]