From b688779c0859ef9da2569bc77475457786fdc490 Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Fri, 24 Apr 2020 23:36:29 +0100 Subject: Initial map documentation --- test/gleam/map_test.gleam | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test') diff --git a/test/gleam/map_test.gleam b/test/gleam/map_test.gleam index 27e47f6..c19cfcd 100644 --- a/test/gleam/map_test.gleam +++ b/test/gleam/map_test.gleam @@ -10,6 +10,13 @@ pub fn from_list_test() { |> map.from_list |> map.size |> should.equal(_, 2) + + [ + tuple(1, 0), + tuple(1, 1), + ] + |> map.from_list + |> should.equal(map.from_list([tuple(1, 1)])) } pub fn has_key_test() { -- cgit v1.2.3