diff options
Diffstat (limited to 'test/gleam/any_test.gleam')
-rw-r--r-- | test/gleam/any_test.gleam | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/gleam/any_test.gleam b/test/gleam/any_test.gleam index af184d8..376d454 100644 --- a/test/gleam/any_test.gleam +++ b/test/gleam/any_test.gleam @@ -222,14 +222,14 @@ pub fn field_test() { let Ok(error_atom) = atom.from_string("error") map.new() - |> map.put(_, ok_atom, 1) + |> map.insert(_, ok_atom, 1) |> any.from |> any.field(_, ok_atom) |> expect.equal(_, Ok(any.from(1))) map.new() - |> map.put(_, ok_atom, 3) - |> map.put(_, error_atom, 1) + |> map.insert(_, ok_atom, 3) + |> map.insert(_, error_atom, 1) |> any.from |> any.field(_, ok_atom) |> expect.equal(_, Ok(any.from(3))) |