mirror of
https://github.com/c-cube/iter.git
synced 2025-12-06 11:15:32 -05:00
Update tests/unit/t_iter.ml
This commit is contained in:
parent
200999d09e
commit
6f4c4bd9c2
1 changed files with 1 additions and 1 deletions
|
|
@ -247,7 +247,7 @@ let () =
|
||||||
|
|
||||||
let () =
|
let () =
|
||||||
OUnit.assert_equal
|
OUnit.assert_equal
|
||||||
~cmp:(List.equal Int.equal)
|
~cmp:(CCList.equal Int.equal)
|
||||||
(1 -- 10
|
(1 -- 10
|
||||||
|> map_while (fun x -> if x = 7 then `Stop else `Yield (x - 1))
|
|> map_while (fun x -> if x = 7 then `Stop else `Yield (x - 1))
|
||||||
|> to_list)
|
|> to_list)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue