Elixir: test with arg

This commit is contained in:
Louis Pilfold 2015-02-19 18:39:26 +00:00
parent 06122593e5
commit 128355895b

View File

@ -102,6 +102,10 @@ snippet test
test "${1:test_name}" do test "${1:test_name}" do
${0} ${0}
end end
snippet test "A ExUnit test" b
test "${1:test_name}", %{${2:arg: arg}} do
${0}
end
snippet try try .. rescue .. end snippet try try .. rescue .. end
try do try do
${1} ${1}