diff options
| author | Stefan Kangas <stefankangas@gmail.com> | 2020-08-29 20:55:46 +0200 |
|---|---|---|
| committer | Stefan Kangas <stefankangas@gmail.com> | 2020-08-29 22:41:51 +0200 |
| commit | 2aeff0794a2b2b86ffe4325a8c677ebbfb2afa1f (patch) | |
| tree | cb728d6209697b76f62084e82c7f92019e375743 /test/lisp/emacs-lisp/hierarchy-tests.el | |
| parent | e709c187fde76573ea3ec3a5f14e09b9ed59525f (diff) | |
| download | emacs-2aeff0794a2b2b86ffe4325a8c677ebbfb2afa1f.tar.gz | |
Use lexical-binding in more tests
* test/lib-src/emacsclient-tests.el:
* test/lisp/emacs-lisp/hierarchy-tests.el:
* test/lisp/eshell/eshell-tests.el:
* test/lisp/gnus/gnus-util-tests.el:
* test/lisp/progmodes/js-tests.el:
* test/lisp/textmodes/bibtex-tests.el:
* test/src/editfns-tests.el:
* test/src/fns-tests.el: Use lexical-binding.
* test/lisp/emacs-lisp/hierarchy-tests.el
(hierarchy-leafs-includes-lonely-roots):
* test/src/editfns-tests.el (transpose-test-get-byte-positions):
* test/src/fns-tests.el (fns-tests-func-arity):
Adjust for lexical-binding.
Diffstat (limited to 'test/lisp/emacs-lisp/hierarchy-tests.el')
| -rw-r--r-- | test/lisp/emacs-lisp/hierarchy-tests.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lisp/emacs-lisp/hierarchy-tests.el b/test/lisp/emacs-lisp/hierarchy-tests.el index 23cfc79d848..41d3f2f3ccf 100644 --- a/test/lisp/emacs-lisp/hierarchy-tests.el +++ b/test/lisp/emacs-lisp/hierarchy-tests.el @@ -1,4 +1,4 @@ -;;; hierarchy-tests.el --- Tests for hierarchy.el +;;; hierarchy-tests.el --- Tests for hierarchy.el -*- lexical-binding:t -*- ;; Copyright (C) 2017-2019 Damien Cassou @@ -274,7 +274,7 @@ '(dove pigeon dolphin cow))))) (ert-deftest hierarchy-leafs-includes-lonely-roots () - (let ((parentfn (lambda (item) nil)) + (let ((parentfn (lambda (_) nil)) (hierarchy (hierarchy-new))) (hierarchy-add-tree hierarchy 'foo parentfn) (should (equal (hierarchy-leafs hierarchy) |
