From: Ken Brown Date: Wed, 8 Jun 2022 17:09:21 +0000 (-0400) Subject: Fix error reporting in process-async-https-with-delay X-Git-Tag: emacs-28.1.90~43 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d02c94090c;p=emacs.git 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) --- 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)) )