aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBasil L. Contovounesios2022-04-20 13:20:57 +0300
committerBasil L. Contovounesios2022-04-20 13:20:57 +0300
commit11b88036e80a67add717db7a0d6184891349415e (patch)
tree1119c1bc083213c3f83f79cc87d698e210c7bf8e /test
parentb8524003dc410557c0670b7f2a60e861eb819fed (diff)
downloademacs-11b88036e80a67add717db7a0d6184891349415e.tar.gz
emacs-11b88036e80a67add717db7a0d6184891349415e.zip
; Fix repeated lambda argnames in files-tests.el.
Diffstat (limited to 'test')
-rw-r--r--test/lisp/files-tests.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lisp/files-tests.el b/test/lisp/files-tests.el
index c5b0fe0bbbc..34c002be271 100644
--- a/test/lisp/files-tests.el
+++ b/test/lisp/files-tests.el
@@ -263,7 +263,7 @@ form.")
263 nil)) 263 nil))
264 (kill-emacs-args nil) 264 (kill-emacs-args nil)
265 ((symbol-function #'kill-emacs) 265 ((symbol-function #'kill-emacs)
266 (lambda (&optional arg arg) (push arg kill-emacs-args))) 266 (lambda (&rest args) (push args kill-emacs-args)))
267 (process 267 (process
268 (make-process 268 (make-process
269 :name "sleep" 269 :name "sleep"
@@ -274,7 +274,7 @@ form.")
274 (save-buffers-kill-emacs) 274 (save-buffers-kill-emacs)
275 (kill-process process) 275 (kill-process process)
276 (should-not yes-or-no-p-prompts) 276 (should-not yes-or-no-p-prompts)
277 (should (equal kill-emacs-args '(nil))))) 277 (should (equal kill-emacs-args '((nil nil))))))
278 278
279(ert-deftest files-tests-read-file-in-~ () 279(ert-deftest files-tests-read-file-in-~ ()
280 "Test file prompting in directory named `~'. 280 "Test file prompting in directory named `~'.