summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Brown <kbrown@cornell.edu>2022-06-08 13:09:21 -0400
committerKen Brown <kbrown@cornell.edu>2022-06-08 13:10:23 -0400
commitd02c94090c4dd7c90da9ccd3268a9e02cadf0a45 (patch)
tree8c21e0d1d5f69dc53e084479503112f698ece639
parent9a4862a9738c2abab8fb4fb2e4e57b69dea679d7 (diff)
downloademacs-d02c94090c4dd7c90da9ccd3268a9e02cadf0a45.tar.gz
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)
-rw-r--r--test/src/process-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/process-tests.el b/test/src/process-tests.el
index 14092187e0b..725da084e72 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))
)