aboutsummaryrefslogtreecommitdiff
path: root/gen/test
diff options
context:
space:
mode:
Diffstat (limited to 'gen/test')
-rw-r--r--gen/test/gleam@list_test.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/gen/test/gleam@list_test.erl b/gen/test/gleam@list_test.erl
index 1037884..2411f0b 100644
--- a/gen/test/gleam@list_test.erl
+++ b/gen/test/gleam@list_test.erl
@@ -183,6 +183,10 @@ sort_test() ->
gleam@list:sort([4, 3, 6, 5, 4], fun gleam@int:compare/2),
[3, 4, 4, 5, 6]
),
+ gleam@expect:equal(
+ gleam@list:sort([4, 3, 6, 5, 4, 1], fun gleam@int:compare/2),
+ [1, 3, 4, 4, 5, 6]
+ ),
gleam@expect:equal(gleam@list:sort([], fun gleam@int:compare/2), []).
index_map_test() ->