mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
fix bug in test
This commit is contained in:
parent
39c33046ce
commit
94ff411f9f
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@ let check_old_new =
|
|||
let prop l =
|
||||
let l1, l2 = List.partition (fun (x,_) -> x mod 2 = 0) l in
|
||||
let h1 = H.of_list l1 in
|
||||
let h2 = H.of_list ~init:h1 l2 in
|
||||
let h2 = H.add_list h1 l2 in
|
||||
List.for_all
|
||||
(fun (k,v) -> H.find h2 k = v)
|
||||
l
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue