From 224f0e8d94293813dee8ee868b6ce02cddb7820d Mon Sep 17 00:00:00 2001 From: inoas Date: Tue, 5 Apr 2022 12:23:42 +0200 Subject: rename test function to map to function tested --- test/gleam/function_test.gleam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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)) -- cgit v1.2.3