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