aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2024-12-07 09:16:18 -0500
committerEli Zaretskii2024-12-07 09:16:18 -0500
commit66263417b754ebf7b588ea8d1dddad584741e363 (patch)
tree3f32036abc57b6fb95355b648b94c3ccb08858f1
parent15a4022e051dbb9bb245e43b8c7fa292b23e9436 (diff)
parent7b8d12e95de6e6b5239c538ad6f5af96dc3e1c2a (diff)
downloademacs-66263417b754ebf7b588ea8d1dddad584741e363.tar.gz
emacs-66263417b754ebf7b588ea8d1dddad584741e363.zip
Merge from origin/emacs-30
7b8d12e95de Fix the latest dabbrev-expand test fix
-rw-r--r--test/lisp/dabbrev-tests.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/lisp/dabbrev-tests.el b/test/lisp/dabbrev-tests.el
index 3e84024698f..fb8715924d1 100644
--- a/test/lisp/dabbrev-tests.el
+++ b/test/lisp/dabbrev-tests.el
@@ -294,9 +294,14 @@ leaving the unexpanded string in the buffer." ; See bug#74090.
294 (should (string= (buffer-string) "abc abd")) 294 (should (string= (buffer-string) "abc abd"))
295 (kill-buffer "foo") 295 (kill-buffer "foo")
296 (erase-buffer) 296 (erase-buffer)
297 (let ((msg (cadr (should-error (execute-kbd-macro (kbd "abc SPC ab M-/ M-/")) 297 ;; In batch runs of this file, the user-error message contains curved
298 ;; quotes, but grave quotes when running `make check' (so here was
299 ;; evidently not passed to `substitute-command-keys'), so use grave
300 ;; quotes so the test succeeds in both modes of execution.
301 (let* ((text-quoting-style 'grave)
302 (msg (cadr (should-error (execute-kbd-macro (kbd "abc SPC ab M-/ M-/"))
298 :type 'user-error)))) 303 :type 'user-error))))
299 (should (string= (buffer-string) "abc ab")) 304 (should (string= (buffer-string) "abc ab"))
300 (should (string= msg "No further dynamic expansion for ab found"))))) 305 (should (string= msg "No further dynamic expansion for `ab' found")))))
301 306
302;;; dabbrev-tests.el ends here 307;;; dabbrev-tests.el ends here