Map.fetch! -> Map.fetch
I think is better to continue use safe ```Map.fetch``` until we familiarize users with dangerous function concept. Not every body comes from ruby background, with knowledge of ```?``` and ```!``` function notations. test ifx
This commit is contained in:
@@ -9,7 +9,7 @@ defmodule StructsTests do
|
||||
"Joe",
|
||||
33,
|
||||
{:multiple, [true, false]},
|
||||
22,
|
||||
{:ok, 22},
|
||||
]
|
||||
|
||||
test_all(Structs, answers)
|
||||
|
||||
Reference in New Issue
Block a user