Skip to content

Commit

Permalink
fix tests with OCaml 4.06 (safe-string)
Browse files Browse the repository at this point in the history
  • Loading branch information
ygrek committed Mar 12, 2018
1 parent ba288b1 commit 0ab886b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_Base64.ml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ let () =
(fun () ->
for i = 0 to 64 do
let s = Util.random_string () in
let enc = Base64.str_encode s in
assert ((Base64.str_decode enc) = s);
let enc = Base64.encode_string s in
assert ((Base64.decode_string enc) = s);
check_chars enc
done)

0 comments on commit 0ab886b

Please sign in to comment.