aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/gleam/list_test.gleam8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/gleam/list_test.gleam b/test/gleam/list_test.gleam
index dd161e4..869bcf6 100644
--- a/test/gleam/list_test.gleam
+++ b/test/gleam/list_test.gleam
@@ -300,6 +300,10 @@ pub fn all_test() {
list.all([], fn(_) { False })
|> should.equal(True)
+
+ list.repeat(True, 16999)
+ |> list.all(fn(_item) { True })
+ |> should.equal(True)
}
pub fn any_test() {
@@ -311,6 +315,10 @@ pub fn any_test() {
list.any([], fn(_) { False })
|> should.equal(False)
+
+ list.repeat(True, 16999)
+ |> list.any(fn(_item) { True })
+ |> should.equal(True)
}
pub fn zip_test() {