projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a4862a
)
Fix error reporting in process-async-https-with-delay
author
Ken Brown
<kbrown@cornell.edu>
Wed, 8 Jun 2022 17:09:21 +0000
(13:09 -0400)
committer
Ken Brown
<kbrown@cornell.edu>
Wed, 8 Jun 2022 17:10:23 +0000
(13:10 -0400)
* 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
patch
|
blob
|
history
diff --git
a/test/src/process-tests.el
b/test/src/process-tests.el
index 14092187e0be3c779d266147ff67920ad1842a8e..725da084e726c2c2eeeec539ae85721f24efef91 100644
(file)
--- 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))
)