Skip to content

Commit

Permalink
Make tests build with jbuilder --dev
Browse files Browse the repository at this point in the history
  • Loading branch information
mroch committed Mar 22, 2018
1 parent b958ecf commit f5c7477
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test.ml
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ let tests = "vlq" >::: [
assert_equal ~ctxt ~printer:string_of_int 123456789 actual
end;

"decode_eof" >:: begin fun ctxt ->
"decode_eof" >:: begin fun _ctxt ->
let stream = Stream.of_string "qxmvr" in
assert_raises Vlq.Unexpected_eof (fun () ->
Vlq.Base64.decode stream
)
end;

"decode_invalid" >:: begin fun ctxt ->
"decode_invalid" >:: begin fun _ctxt ->
let stream = Stream.of_string "qx." in
assert_raises (Vlq.Invalid_base64 '.') (fun () ->
Vlq.Base64.decode stream
Expand Down

0 comments on commit f5c7477

Please sign in to comment.