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

@@ -23,10 +23,10 @@ defmodule TestHarness do
end
defp check_results(results) do
Enum.each(results, &(assert &1 == :passed))
Enum.each(results, &assert(&1 == :passed))
end
def run_all(pairs, module) do
Enum.map(pairs, fn ({koan, answer}) -> Execute.run_koan(module, koan, [answer]) end)
Enum.map(pairs, fn {koan, answer} -> Execute.run_koan(module, koan, [answer]) end)
end
end