Elixir: test with arg
This commit is contained in:
parent
06122593e5
commit
128355895b
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user