From c9740d8b7303dbea5608b3c8f92efe152e767066 Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Mon, 16 Dec 2019 17:33:34 +0000 Subject: Any -> Dynamic Closes https://github.com/gleam-lang/stdlib/issues/8 --- gen/test/gleam@map_test.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gen/test/gleam@map_test.erl') 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). -- cgit v1.2.3