Skip to content

Commit 7cd5839

Browse files
committed
Update tests for min/fn and max/fn
1 parent 5c840e0 commit 7cd5839

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

nons-test/test/lib/core/order.egi

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ assertEqual("min",
1515
5)
1616

1717
assertEqual("min/fn",
18-
min/fn(compare, 20, 5),
18+
min/fn(compare, [10, 20, 5, 20, 30]),
1919
5)
2020

2121
assertEqual("max",
2222
max(5, 30),
2323
30)
2424

2525
assertEqual("max/fn",
26-
max/fn(compare, 5, 30),
26+
max/fn(compare, [10, 20, 5, 20, 30]),
2727
30)
2828

2929
assertEqual("sort",

test/lib/core/order.egi

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
5)
1616

1717
(assert-equal "min/fn"
18-
(min/fn compare 20 5)
18+
(min/fn compare {10 20 5 20 30})
1919
5)
2020

2121
(assert-equal "max"
2222
(max 5 30)
2323
30)
2424

2525
(assert-equal "max/fn"
26-
(max/fn compare 5 30)
26+
(max/fn compare {10 20 5 20 30})
2727
30)
2828

2929
(assert-equal "sort"

0 commit comments

Comments
 (0)