Make sure blank is on the right and improve koans

This commit is contained in:
Felipe Sere
2016-04-23 10:56:17 +01:00
parent 29da6d92a0
commit 14d4e4f551
11 changed files with 46 additions and 55 deletions

View File

@@ -11,7 +11,7 @@ defmodule Functions do
def multiply(a, b), do: a * b
koan "Single line functions are cool, but mind the comma and the colon!" do
assert multiply(2, ___) == 6
assert 6 == multiply(2, ___)
end
def first(foo, bar), do: "#{foo} and #{bar}"