Skip to content

Commit 5a5bf7f

Browse files
committed
Uncurry some test
1 parent 9685119 commit 5a5bf7f

10 files changed

+843
-907
lines changed

jscomp/test/bs_rbset_int_bench.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jscomp/test/int_hashtbl_test.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ let f = (module(H: Hashtbl.S with type key = int)) => {
1313
H.add(tbl, 1, '1')
1414
H.add(tbl, 2, '2')
1515
\"@@"(
16-
l => List.sort(((a: int, _), (b, _)) => compare(a, b), l),
16+
x => List.sort(((a: int, _), (b, _)) => compare(a, b), x),
1717
H.fold((k, v, acc) => list{(k, v), ...acc}, tbl, list{}),
1818
)
1919
}

jscomp/test/map_find_test.js

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jscomp/test/map_find_test.res

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ include (
2525
)
2626
@val("console.log") external log: 'a => unit = ""
2727

28-
\"@@"(
29-
l => Mt.from_pair_suites(__MODULE__, l),
28+
29+
Mt.from_pair_suites(
30+
__MODULE__,
3031
list{("int", _ => Eq(IntMap.find(10, m), 'a')), ("string", _ => Eq(SMap.find("10", s), 'a'))},
3132
)
3233
}: {}

0 commit comments

Comments
 (0)