Hello Everyone! I'm following Elixir community for a long time and recently I decided to start my first Elixir project, and I'm really enjoying it. Thanks for bringing us this awesome tool.
I noticed that many times I write the following pattern matching for maps:
test "test descritption", %{var_a: var_a, var_b: var_b} do
# Test case here
end
This happens mostly on test cases and it's really boring. My suggestion is to add a shorthand matcher (like the shorthand object destruction in Javascript). The test case could be rewritten like:
test "test descritption", %{var_a, var_b} do
# Test case here
end
Kindly regards,
Gustavo