diff options
Diffstat (limited to 'tests/test-music-config-commands.el')
| -rw-r--r-- | tests/test-music-config-commands.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-music-config-commands.el b/tests/test-music-config-commands.el index d57e339c..3c585d0b 100644 --- a/tests/test-music-config-commands.el +++ b/tests/test-music-config-commands.el @@ -176,9 +176,9 @@ last-played track and starts it." (added-hooks nil) (removed-hooks nil)) (cl-letf (((symbol-function 'add-hook) - (lambda (hook _fn) (push hook added-hooks))) + (lambda (hook _fn &rest _) (push hook added-hooks))) ((symbol-function 'remove-hook) - (lambda (hook _fn) (push hook removed-hooks))) + (lambda (hook _fn &rest _) (push hook removed-hooks))) ((symbol-function 'message) #'ignore)) (cj/music-toggle-consume) (should cj/music-consume-mode) |
