aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGiacomo Cavalieri <giacomo.cavalieri@icloud.com>2023-05-25 17:09:37 +0200
committerLouis Pilfold <louis@lpil.uk>2023-05-25 16:35:25 +0100
commit22910e44979f3530a2ef6fd791f2214697e0a659 (patch)
tree1a04d7fc8d564e211200cabbb699cae8c45cb614 /test
parent785398d47294caeb74aaf5030c12b880e324dc5a (diff)
downloadgleam_stdlib-22910e44979f3530a2ef6fd791f2214697e0a659.tar.gz
gleam_stdlib-22910e44979f3530a2ef6fd791f2214697e0a659.zip
Replace occurrences of `list.head` in comments in favour of `list.first`
Diffstat (limited to 'test')
-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 544b295..26919f2 100644
--- a/test/gleam/function_test.gleam
+++ b/test/gleam/function_test.gleam
@@ -16,7 +16,7 @@ pub fn compose_test() {
|> add_five
|> should.equal(6)
- // Takes a list of ints and returns the head as a string (if there is one, or
+ // Takes a list of ints and returns the first as a string (if there is one, or
// else "0" if there is not)
let first_to_string =
list.first