aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinoas <mail@inoas.com>2022-04-05 12:23:42 +0200
committerLouis Pilfold <louis@lpil.uk>2022-04-06 10:58:14 +0100
commit224f0e8d94293813dee8ee868b6ce02cddb7820d (patch)
tree89cd44d7c3efaefb5a5b8ab79201f233656f9e34
parent46454eea3b3781b0e5bc93535428464047df3edb (diff)
downloadgleam_stdlib-224f0e8d94293813dee8ee868b6ce02cddb7820d.tar.gz
gleam_stdlib-224f0e8d94293813dee8ee868b6ce02cddb7820d.zip
rename test function to map to function tested
-rw-r--r--test/gleam/function_test.gleam2
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))