emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master ca7224d: Add test for recent buffer-local-variables change


From: Glenn Morris
Subject: master ca7224d: Add test for recent buffer-local-variables change
Date: Mon, 18 May 2020 16:08:39 -0400 (EDT)

branch: master
commit ca7224d5dbfd6f07d537f6159aae8df667a65497
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    Add test for recent buffer-local-variables change
    
    * test/src/buffer-tests.el (buffer-tests-buffer-local-variables-undo):
    New.
---
 test/src/buffer-tests.el | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/test/src/buffer-tests.el b/test/src/buffer-tests.el
index 6e87cb9..6e97646 100644
--- a/test/src/buffer-tests.el
+++ b/test/src/buffer-tests.el
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]