aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
authorEli Zaretskii2022-05-24 17:12:26 +0300
committerEli Zaretskii2022-05-24 17:12:26 +0300
commited1045613e2cc5de5bba8bad05d7ebdf070ffe86 (patch)
tree0aa563c1e12255dfe4fd207231bb033c51c891b9 /test/src
parent609c9c5cd9cae1d6fced971cd66f39530ab93136 (diff)
parentaea843c3d69000faa5b84fb3ac1fd3883f800de3 (diff)
downloademacs-ed1045613e2cc5de5bba8bad05d7ebdf070ffe86.tar.gz
emacs-ed1045613e2cc5de5bba8bad05d7ebdf070ffe86.zip
Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs
Diffstat (limited to 'test/src')
-rw-r--r--test/src/buffer-tests.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/src/buffer-tests.el b/test/src/buffer-tests.el
index f6a18acaa64..13d48b31a4f 100644
--- a/test/src/buffer-tests.el
+++ b/test/src/buffer-tests.el
@@ -1515,7 +1515,11 @@ with parameters from the *Messages* buffer modification."
1515 (should (eq (buffer-modified-p) 'autosaved)) 1515 (should (eq (buffer-modified-p) 'autosaved))
1516 (insert "zot") 1516 (insert "zot")
1517 (restore-buffer-modified-p 'autosaved) 1517 (restore-buffer-modified-p 'autosaved)
1518 (should (eq (buffer-modified-p) 'autosaved)))) 1518 (should (eq (buffer-modified-p) 'autosaved))
1519
1520 ;; Clean up.
1521 (when (file-exists-p buffer-auto-save-file-name)
1522 (delete-file buffer-auto-save-file-name))))
1519 1523
1520 (ert-with-temp-file file 1524 (ert-with-temp-file file
1521 (with-current-buffer (find-file file) 1525 (with-current-buffer (find-file file)