Skip to content

Commit 87f9aa0

Browse files
committed
Don't use Fun.id in tests
1 parent f787b9a commit 87f9aa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/src/types.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ let%test "abstract pointer" = Util.check_leaks (fun () ->
9595
)
9696

9797
let%test "seq sum" = Util.check_leaks (fun () ->
98-
let l = List.init 100 Fun.id in
98+
let l = List.init 100 (fun x -> x) in
9999
let s = List.to_seq l in
100100
let sum = seq_sum s in
101101
let sum' = List.fold_left ( + ) 0 l in

0 commit comments

Comments
 (0)