add .formatter.exs + format

This commit is contained in:
Martino Visintin
2018-05-22 21:46:54 +01:00
parent 08c90ce0d8
commit b07df7c780
52 changed files with 332 additions and 264 deletions

View File

@@ -5,14 +5,14 @@ defmodule PatternsTests do
test "Pattern Matching" do
answers = [
1,
{:multiple, [1, [2,3,4]]},
[1,2,3,4],
{:multiple, [1, [2, 3, 4]]},
[1, 2, 3, 4],
3,
"eggs, milk",
"Honda",
MatchError,
{:multiple, [:make, "Honda"]},
[1,2,3],
[1, 2, 3],
{:multiple, ["Meow", "Woof", "Eh?"]},
{:multiple, ["Mickey", "Donald", "I need a name!"]},
"dog",