[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-28 d02c94090c: Fix error reporting in process-async-https-with-del
From: |
Ken Brown |
Subject: |
emacs-28 d02c94090c: Fix error reporting in process-async-https-with-delay |
Date: |
Wed, 8 Jun 2022 13:11:23 -0400 (EDT) |
branch: emacs-28
commit d02c94090c4dd7c90da9ccd3268a9e02cadf0a45
Author: Ken Brown <kbrown@cornell.edu>
Commit: Ken Brown <kbrown@cornell.edu>
Fix error reporting in process-async-https-with-delay
* test/src/process-tests.el (process-async-https-with-delay): Use
'plist-get' instead of 'assq' in testing for a connection error.
The 'status' variable is a plist, not an alist. (Bug#55849)
---
test/src/process-tests.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/src/process-tests.el b/test/src/process-tests.el
index 14092187e0..725da084e7 100644
--- a/test/src/process-tests.el
+++ b/test/src/process-tests.el
@@ -939,7 +939,7 @@ Return nil if FILENAME doesn't exist."
(< (float-time) (+ t0 limit)))
(sit-for 0.1)))
(should status)
- (should-not (assq :error status))
+ (should-not (plist-get status ':error))
(should buf)
(should (> (buffer-size buf) 0))
)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-28 d02c94090c: Fix error reporting in process-async-https-with-delay,
Ken Brown <=