Elixir describe snippet
This commit is contained in:
parent
475dc19f56
commit
600215a447
@ -105,13 +105,17 @@ snippet imp
|
|||||||
snippet ali
|
snippet ali
|
||||||
alias ${0:module_name}
|
alias ${0:module_name}
|
||||||
snippet test
|
snippet test
|
||||||
test "${1:test_name}" do
|
test "${1:test name}" do
|
||||||
${0}
|
${0}
|
||||||
end
|
end
|
||||||
snippet testa
|
snippet testa
|
||||||
test "${1:test_name}", %{${2:arg: arg}} do
|
test "${1:test_name}", %{${2:arg: arg}} do
|
||||||
${0}
|
${0}
|
||||||
end
|
end
|
||||||
|
snippet des
|
||||||
|
describe "${1:test group subject}" do
|
||||||
|
${0}
|
||||||
|
end
|
||||||
snippet exunit
|
snippet exunit
|
||||||
defmodule ${1:`substitute(vim_snippets#Filename(), '\(_\|^\)\(.\)', '\u\2', 'g')`} do
|
defmodule ${1:`substitute(vim_snippets#Filename(), '\(_\|^\)\(.\)', '\u\2', 'g')`} do
|
||||||
use ExUnit.Case, async: true
|
use ExUnit.Case, async: true
|
||||||
|
Loading…
Reference in New Issue
Block a user