Add example of matching map with struct

This commit is contained in:
Jay Hayes
2016-05-02 12:18:24 -05:00
parent 8bcd7d2c94
commit 64d6e72b46
2 changed files with 6 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ defmodule PatternsTests do
{:multiple, ["Mickey", "Donald", "I need a name!"]},
"dog",
"Max",
"Max",
]
test_all(PatternMatching, answers)