diff options
author | Alex Rothuis <alex.rothuis@gmail.com> | 2022-11-02 18:09:22 +0100 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2022-11-06 16:45:54 +0000 |
commit | 0e14d0439bbd798656c9f161ce0fcd49b5bc12d3 (patch) | |
tree | f5e4f4b0ec4dc7ade5abdd6182018bedb19c2ddd /test | |
parent | e898021299a47ede3332900bffaef8a72ff0d661 (diff) | |
download | gleam_stdlib-0e14d0439bbd798656c9f161ce0fcd49b5bc12d3.tar.gz gleam_stdlib-0e14d0439bbd798656c9f161ce0fcd49b5bc12d3.zip |
Remove labels from subtract operator functions
Diffstat (limited to 'test')
-rw-r--r-- | test/gleam/float_test.gleam | 8 | ||||
-rw-r--r-- | test/gleam/int_test.gleam | 8 |
2 files changed, 0 insertions, 16 deletions
diff --git a/test/gleam/float_test.gleam b/test/gleam/float_test.gleam index 3379a47..44d9f52 100644 --- a/test/gleam/float_test.gleam +++ b/test/gleam/float_test.gleam @@ -420,12 +420,4 @@ pub fn subtract_test() { 3.0 |> float.subtract(2.0, _) |> should.equal(-1.0) - - 3.0 - |> float.subtract(subtrahend: 2.0) - |> should.equal(1.0) - - 3.0 - |> float.subtract(minuend: 2.0) - |> should.equal(-1.0) } diff --git a/test/gleam/int_test.gleam b/test/gleam/int_test.gleam index 29eb0fe..4768432 100644 --- a/test/gleam/int_test.gleam +++ b/test/gleam/int_test.gleam @@ -530,12 +530,4 @@ pub fn subtract_test() { 3 |> int.subtract(2, _) |> should.equal(-1) - - 3 - |> int.subtract(subtrahend: 2) - |> should.equal(1) - - 3 - |> int.subtract(minuend: 2) - |> should.equal(-1) } |