aboutsummaryrefslogtreecommitdiff
path: root/gen/test/gleam@map_test.erl
diff options
context:
space:
mode:
Diffstat (limited to 'gen/test/gleam@map_test.erl')
-rw-r--r--gen/test/gleam@map_test.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/gen/test/gleam@map_test.erl b/gen/test/gleam@map_test.erl
index 5409e85..50dba1a 100644
--- a/gen/test/gleam@map_test.erl
+++ b/gen/test/gleam@map_test.erl
@@ -145,6 +145,6 @@ fold_test() ->
),
Add = fun(_, V, Acc) -> V + Acc end,
gleam@expect:equal(gleam@map:fold(Dict, 0, Add), 6),
- Concat = fun(K, _, Acc) -> gleam@string:append(Acc, K) end,
+ Concat = fun(K, _, Acc1) -> gleam@string:append(Acc1, K) end,
gleam@expect:equal(gleam@map:fold(Dict, <<"">>, Concat), <<"abcd">>),
gleam@expect:equal(gleam@map:fold(gleam@map:from_list([]), 0, Add), 0).