Skip to content

Commit 2742a47

Browse files
committed
fix bug
1 parent b87226d commit 2742a47

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/unit/t_headers.ml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ let test_header_too_large () =
1717
let _ = Request.Private_.parse_req_start_exn ~client_addr ~buf
1818
~get_time_s:(fun _ -> 0.) str in
1919
failwith "should have failed with 431"
20-
with Common_.Bad_req (431, _) ->
21-
() (* expected *)
20+
with Tiny_httpd_core.Response.Bad_req (431, _) -> () (* expected *)
2221

2322
let () =
2423
test_header_too_large ()

0 commit comments

Comments
 (0)