aboutsummaryrefslogtreecommitdiffstats
path: root/test/lisp/arc-mode-tests.el
diff options
context:
space:
mode:
authorStefan Monnier2026-03-09 10:34:05 -0400
committerStefan Monnier2026-03-09 10:34:05 -0400
commit0487d68ab9992be4fa70cfd908909001f71e66af (patch)
tree8c93da3b94717d184f88277e277de949ecb2fb9c /test/lisp/arc-mode-tests.el
parent798dceb467d4ead092979822f24090c8378f8320 (diff)
downloademacs-scratch/error-API.tar.gz
emacs-scratch/error-API.zip
Diffstat (limited to 'test/lisp/arc-mode-tests.el')
-rw-r--r--test/lisp/arc-mode-tests.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/lisp/arc-mode-tests.el b/test/lisp/arc-mode-tests.el
index 43a441918a5..235a67c8649 100644
--- a/test/lisp/arc-mode-tests.el
+++ b/test/lisp/arc-mode-tests.el
@@ -113,9 +113,10 @@ member MEMBER. Then the test finds ARCHIVE and ensures that function
113 ;; turn the most likely error into a nice 113 ;; turn the most likely error into a nice
114 ;; and self-explaining symbol that can be 114 ;; and self-explaining symbol that can be
115 ;; compared in a `should' 115 ;; compared in a `should'
116 (if (string= (cadr err) "Buffer format not recognized") 116 (if (equal (error-slot-value err 1)
117 "Buffer format not recognized")
117 'signature-not-recognized 118 'signature-not-recognized
118 (signal (car err) (cdr err)))))) 119 (signal err)))))
119 (should (eq type (quote ,type))))) 120 (should (eq type (quote ,type)))))
120 (when buffer (kill-buffer buffer)) 121 (when buffer (kill-buffer buffer))
121 (dolist (file (list member archive)) 122 (dolist (file (list member archive))