Skip to content

Commit

Permalink
Remove unused value declarations in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterDA committed Sep 23, 2022
1 parent a846ffd commit 7210fcc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib_test/test_angstrom.ml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ let check_lc ?size ~msg p is r = check_ok ?size ~msg Alcotest.(list char) p
let check_co ?size ~msg p is r = check_ok ?size ~msg Alcotest.(option char) p is r
let check_s ?size ~msg p is r = check_ok ?size ~msg Alcotest.string p is r
let check_bs ?size ~msg p is r = check_ok ?size ~msg Alcotest.bigstring p is r
let check_ls ?size ~msg p is r = check_ok ?size ~msg Alcotest.(list string) p is r
let check_int ?size ~msg p is r = check_ok ?size ~msg Alcotest.int p is r

let bigstring_of_string s = Bigstringaf.of_string s ~off:0 ~len:(String.length s)
Expand Down Expand Up @@ -189,7 +188,6 @@ module Endian(Es : EndianBigstring) = struct
}

let uint16 = { int16 with name = "uint16"; min = 0; max = 65535 }
let uint32 = { int32 with name = "uint32" }

let dump actual size value =
let buf = Bigstringaf.of_string ~off:0 ~len:size (String.make size '\xff') in
Expand Down

0 comments on commit 7210fcc

Please sign in to comment.