Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
anmonteiro committed Aug 24, 2024
1 parent 4bf38e7 commit 8e67fb1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib_test/test_httpun_ws.ml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ module Websocket = struct
let { Parse.payload_length; _ } = frame in
let payload =
match payload_length with
| 0 -> Payload.create_empty ~on_payload_eof:(fun () -> ())
| 0 -> Payload.create_empty ()
| _ ->
Payload.create (Bigstringaf.create 0x100)
~when_ready_to_read:(Optional_thunk.some (fun () -> ()))
~on_payload_eof:(fun () -> ())
in
let payload_parser = Parse.payload_parser frame payload in
handler frame payload;
Expand Down

0 comments on commit 8e67fb1

Please sign in to comment.