summaryrefslogtreecommitdiff
path: root/test/src/data-tests.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2020-12-08 08:57:22 +0100
committerStefan Kangas <stefan@marxist.se>2020-12-08 08:57:22 +0100
commit3b20c0331693e915a3d52d1b99c570d9816db015 (patch)
tree14bdb7c1933a0ead5f07cda9921d66b480124cbc /test/src/data-tests.el
parent9e7b93f2da8ef3676fb9923278ee1e721dfc17d9 (diff)
downloademacs-3b20c0331693e915a3d52d1b99c570d9816db015.tar.gz
Prefer setq-local in tests
* test/lisp/allout-tests.el (allout-test-resumption-prior-value-resumed) (allout-test-resumption-multiple-holds) (allout-test-resumption-unbinding): * test/lisp/emacs-lisp/faceup-resources/faceup-test-mode.el (faceup-test-mode): * test/lisp/epg-tests.el (with-epg-tests): * test/src/data-tests.el (binding-test-buffer-A): Prefer setq-local.
Diffstat (limited to 'test/src/data-tests.el')
-rw-r--r--test/src/data-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/data-tests.el b/test/src/data-tests.el
index 1312683c848..c5fc3eaa11a 100644
--- a/test/src/data-tests.el
+++ b/test/src/data-tests.el
@@ -324,7 +324,7 @@ comparing the subr with a much slower lisp implementation."
(defvar binding-test-some-local 'some)
(with-current-buffer binding-test-buffer-A
- (set (make-local-variable 'binding-test-some-local) 'local))
+ (setq-local binding-test-some-local 'local))
(ert-deftest binding-test-manual ()
"A test case from the elisp manual."