From cb796c5cd059ae7c9b50eb27f161e92c25672d8a Mon Sep 17 00:00:00 2001 From: Hannes Nevalainen Date: Thu, 8 Oct 2026 08:51:46 +0200 Subject: [PATCH] Fix assertion output format in list.gleam Update expected output in index_fold assertion. --- src/gleam/list.gleam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gleam/list.gleam b/src/gleam/list.gleam index 01be474c..7c6240ef 100644 --- a/src/gleam/list.gleam +++ b/src/gleam/list.gleam @@ -731,7 +731,7 @@ pub fn fold_right( /// |> list.index_fold("", fn(acc, item, index) { /// acc <> int.to_string(index) <> ":" <> item <> " " /// }) -/// == "0:a 1:b 2:c" +/// == "0:a 1:b 2:c " /// ``` /// /// ```gleam