diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/gleam/list_test.gleam | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/gleam/list_test.gleam b/test/gleam/list_test.gleam index bde753a..82350a2 100644 --- a/test/gleam/list_test.gleam +++ b/test/gleam/list_test.gleam @@ -302,11 +302,11 @@ pub fn all_test() { |> should.equal(True) list.repeat(False, 16999) - |> list.all(fn(_item) { False }) + |> list.all(fn(item) { item }) |> should.equal(False) list.repeat(True, 16999) - |> list.all(fn(_item) { True }) + |> list.all(fn(item) { item }) |> should.equal(True) } @@ -321,11 +321,11 @@ pub fn any_test() { |> should.equal(False) list.repeat(True, 16999) - |> list.any(fn(_item) { True }) + |> list.any(fn(item) { item }) |> should.equal(True) list.repeat(False, 16999) - |> list.any(fn(_item) { False }) + |> list.any(fn(item) { item }) |> should.equal(False) } |