aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/gleam/map_test.gleam7
1 files changed, 7 insertions, 0 deletions
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() {