]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix error reporting in process-async-https-with-delay
authorKen Brown <kbrown@cornell.edu>
Wed, 8 Jun 2022 17:09:21 +0000 (13:09 -0400)
committerKen 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

index 14092187e0be3c779d266147ff67920ad1842a8e..725da084e726c2c2eeeec539ae85721f24efef91 100644 (file)
@@ -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))
           )