Add test for recent buffer-local-variables change

* test/src/buffer-tests.el (buffer-tests-buffer-local-variables-undo):
New.
This commit is contained in:
Glenn Morris 2020-05-18 13:08:27 -07:00
parent ceee275431
commit ca7224d5db

View file

@ -1327,4 +1327,10 @@ with parameters from the *Messages* buffer modification."
(set-buffer-multibyte t)
(buffer-string)))))))
;; https://debbugs.gnu.org/33492
(ert-deftest buffer-tests-buffer-local-variables-undo ()
"Test that `buffer-undo-list' appears in `buffer-local-variables'."
(with-temp-buffer
(should (assq 'buffer-undo-list (buffer-local-variables)))))
;;; buffer-tests.el ends here