diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/gleam/float_test.gleam | 2 | ||||
-rw-r--r-- | test/gleam/int_test.gleam | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/gleam/float_test.gleam b/test/gleam/float_test.gleam index 49e4261..e3278d5 100644 --- a/test/gleam/float_test.gleam +++ b/test/gleam/float_test.gleam @@ -338,7 +338,7 @@ pub fn sum_test() { pub fn product_test() { float.product([]) - |> should.equal(0.0) + |> should.equal(1.0) float.product([4.0]) |> should.equal(4.0) diff --git a/test/gleam/int_test.gleam b/test/gleam/int_test.gleam index 608f77f..bd43324 100644 --- a/test/gleam/int_test.gleam +++ b/test/gleam/int_test.gleam @@ -349,7 +349,7 @@ pub fn sum_test() { pub fn product_test() { int.product([]) - |> should.equal(0) + |> should.equal(1) int.product([4]) |> should.equal(4) |