Skip to content

Commit

Permalink
Update test/unix/test_lwt_process.ml
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael-proust committed May 6, 2024
1 parent 191f092 commit a93c0b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/unix/test_lwt_process.ml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ let pwrite ~stdin pout expected =

let read_all ic buf ofs len =
let rec loop ic buf ofs len =
assert (len >= 0);
Lwt_unix.read ic buf ofs len >>= function
| 0 ->
Lwt.return ofs
Expand Down

0 comments on commit a93c0b9

Please sign in to comment.