branch: externals/websocket
commit b9ae25843aaed06624de5ca34037cbf0e807517a
Author: Andrew Hyatt <[email protected]>
Commit: Andrew Hyatt <[email protected]>

    Fix breaking test.
    
    The websocket-close test was failing. The test has been updated to fix
    the breakage, which was caused by assuming the wrong function would be
    called by the underyling code.
---
 websocket-test.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/websocket-test.el b/websocket-test.el
index e51d440069..808d13d5dd 100644
--- a/websocket-test.el
+++ b/websocket-test.el
@@ -319,8 +319,7 @@
     (flet ((websocket-send (websocket frame) (push frame sent-frames))
            (websocket-openp (websocket) t)
            (kill-buffer (buffer))
-           (delete-process (proc))
-           (process-buffer (conn) (add-to-list 'processes-deleted conn)))
+           (delete-process (proc) (add-to-list 'processes-deleted proc)))
       (websocket-close (websocket-inner-create
                         :conn "fake-conn"
                         :url t

Reply via email to