Remove function single do: definition syntax

This commit is contained in:
José Valim
2012-05-13 17:36:54 +02:00
parent 53ba7e7e85
commit f9dd6f66a6
12 changed files with 126 additions and 130 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ defmodule Binary.Inspect.AnyTest do
use ExUnit.Case
test :funs do
bin = inspect(fn(x, do: x + 1))
bin = inspect(fn(x) -> x + 1 end)
assert_match '#Fun<' ++ _, binary_to_list(bin)
end
end