Skip to content

Commit d151e90

Browse files
committed
undo dict formatting
1 parent ee218d8 commit d151e90

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

test/gleam/dict_test.gleam

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -248,11 +248,9 @@ fn list_to_map(list) {
248248
fn grow_and_shrink_map(initial_size, final_size) {
249249
range(0, initial_size, [])
250250
|> list_to_map
251-
|> list.fold(
252-
range(final_size, initial_size, []),
253-
_,
254-
fn(map, item) { dict.delete(map, item) },
255-
)
251+
|> list.fold(range(final_size, initial_size, []), _, fn(map, item) {
252+
dict.delete(map, item)
253+
})
256254
}
257255

258256
// maps should be equal even if the insert/removal order was different

0 commit comments

Comments
 (0)