Skip to content

Commit c7ff44f

Browse files
committed
fix
1 parent f36a9fc commit c7ff44f

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

tests/unit/t_iter.ml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -304,15 +304,13 @@ let () =
304304
let i = Stdlib.min i j and j = Stdlib.max i j in
305305
i -- j |> to_rev_list = (int_range_by ~step:~-1 j i |> to_list))
306306

307-
open struct
308-
let array_for_all f a =
309-
try
310-
for i = 0 to Array.length a - 1 do
311-
if not (f a.(i)) then raise Exit
312-
done;
313-
true
314-
with Exit -> false
315-
end
307+
let array_for_all f a =
308+
try
309+
for i = 0 to Array.length a - 1 do
310+
if not (f a.(i)) then raise Exit
311+
done;
312+
true
313+
with Exit -> false
316314

317315
let () =
318316
add_qcheck __LINE__

0 commit comments

Comments
 (0)