diff options
author | inoas <mail@inoas.com> | 2022-04-05 12:23:42 +0200 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2022-04-06 10:58:14 +0100 |
commit | 224f0e8d94293813dee8ee868b6ce02cddb7820d (patch) | |
tree | 89cd44d7c3efaefb5a5b8ab79201f233656f9e34 | |
parent | 46454eea3b3781b0e5bc93535428464047df3edb (diff) | |
download | gleam_stdlib-224f0e8d94293813dee8ee868b6ce02cddb7820d.tar.gz gleam_stdlib-224f0e8d94293813dee8ee868b6ce02cddb7820d.zip |
rename test function to map to function tested
-rw-r--r-- | test/gleam/function_test.gleam | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gleam/function_test.gleam b/test/gleam/function_test.gleam index 1495d2a..27e8b0d 100644 --- a/test/gleam/function_test.gleam +++ b/test/gleam/function_test.gleam @@ -109,7 +109,7 @@ pub fn identity_test() { |> should.equal(#(1, 2.0)) } -pub fn always_test() { +pub fn constant_test() { #(1, 2) |> pair.map_first(function.constant(42)) |> should.equal(#(42, 2)) |