-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit fa4363e
Showing
15 changed files
with
263 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>defmodule ${1:MyCustomMatcher} | ||
defp match(${3:subject}, ${4:number}) do | ||
result = rem(${4:number}, ${3:subject}) | ||
{result == 0, result} | ||
end | ||
defp success_message(${3:subject}, ${4:number}, ${5:_result}, ${6:positive}) do | ||
to = if ${6:positive}, do: "is", else: "is not" | ||
"`#{inspect ${3:subject}}` #{to} the divisor of #{${4:number}}." | ||
end | ||
defp error_message(${3:subject}, ${4:number}, ${5:result}, ${6:positive}) do | ||
to = if ${6:positive}, do: "to", else: "not to" | ||
"Expected `#{inspect ${3:subject}}` #{to} be the divisor of `#{${4:number}}`, but the remainder is '#{${5:result}}'." | ||
end | ||
end</string> | ||
<key>name</key> | ||
<string>Custom Matcher</string> | ||
<key>scope</key> | ||
<string>source.elixir.espec</string> | ||
<key>tabTrigger</key> | ||
<string>cusmat</string> | ||
<key>uuid</key> | ||
<string>55BF6C99-B4C4-4772-B7DC-0A18407E429C</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>context "${1:description}", sync: ${2:sync_mode} do | ||
${3:matcher} | ||
end$0 | ||
</string> | ||
<key>name</key> | ||
<string>context sync</string> | ||
<key>scope</key> | ||
<string>source.elixir.espec</string> | ||
<key>tabTrigger</key> | ||
<string>consy</string> | ||
<key>uuid</key> | ||
<string>1201777F-3AC4-4B2A-9A46-C215F891B07A</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>finally do | ||
${1:block} | ||
end | ||
</string> | ||
<key>name</key> | ||
<string>finally</string> | ||
<key>scope</key> | ||
<string>source.elixir.espec</string> | ||
<key>tabTrigger</key> | ||
<string>fnlb</string> | ||
<key>uuid</key> | ||
<string>1201777F-3AC4-4B2A-9A46-C215F891B07A</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>finally do: ${1:block} do</string> | ||
<key>name</key> | ||
<string>finally</string> | ||
<key>scope</key> | ||
<string>source.elixir.espec</string> | ||
<key>tabTrigger</key> | ||
<string>fnl</string> | ||
<key>uuid</key> | ||
<string>1201777F-3AC4-4B2A-9A46-C215F891B07A</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>include_examples(${1:SharedExample})</string> | ||
<key>name</key> | ||
<string>include shared examples</string> | ||
<key>scope</key> | ||
<string>source.elixir.espec</string> | ||
<key>tabTrigger</key> | ||
<string>incse</string> | ||
<key>uuid</key> | ||
<string>1201777F-3AC4-4B2A-9A46-C215F891B07A</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>before do: $0</string> | ||
<key>name</key> | ||
<string>before</string> | ||
<key>scope</key> | ||
<string>source.elixir.espec</string> | ||
<key>tabTrigger</key> | ||
<string>bef</string> | ||
<key>uuid</key> | ||
<string>7D960FC5-4859-4328-A06B-73A3CF6763E0</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>before do | ||
$0 | ||
end</string> | ||
<key>name</key> | ||
<string>before</string> | ||
<key>scope</key> | ||
<string>source.elixir.espec</string> | ||
<key>tabTrigger</key> | ||
<string>befb</string> | ||
<key>uuid</key> | ||
<string>7D960FC5-4859-4328-A06B-73A3CF6763E0</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>to_raise(${1:exception})</string> | ||
<key>name</key> | ||
<string>to_raise</string> | ||
<key>scope</key> | ||
<string>source.elixir.espec</string> | ||
<key>tabTrigger</key> | ||
<string>tre</string> | ||
<key>uuid</key> | ||
<string>65B85B0D-26FC-4A08-8D6A-7BF00AA787FC</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>to(${:throw_term})</string> | ||
<key>name</key> | ||
<string>to(throw_term)</string> | ||
<key>scope</key> | ||
<string>source.elixir.espec</string> | ||
<key>tabTrigger</key> | ||
<string>tth</string> | ||
<key>uuid</key> | ||
<string>2CC293EE-496A-4B66-928C-332DDCBEE884</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>to(${:throw_term} ${2:term})</string> | ||
<key>name</key> | ||
<string>to(throw_term term)</string> | ||
<key>scope</key> | ||
<string>source.elixir.espec</string> | ||
<key>tabTrigger</key> | ||
<string>tth</string> | ||
<key>uuid</key> | ||
<string>2CC293EE-496A-4B66-928C-332DDCBEE884</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>use ESpec.Phoenix, controller: Pspgwe.MyController</string> | ||
<key>name</key> | ||
<string>use ESpec.Phoenix.Controller</string> | ||
<key>scope</key> | ||
<string>source.elixir.espec</string> | ||
<key>tabTrigger</key> | ||
<string>usesphc</string> | ||
<key>uuid</key> | ||
<string>DAD2B74D-2105-42B0-9FC5-466F3B3D0DB7</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>use ESpec.Phoenix, model: MyModel</string> | ||
<key>name</key> | ||
<string>use ESpec.Phoenix</string> | ||
<key>scope</key> | ||
<string>source.elixir.espec</string> | ||
<key>tabTrigger</key> | ||
<string>usesphm</string> | ||
<key>uuid</key> | ||
<string>DAD2B74D-2105-42B0-9FC5-466F3B3D0DB7</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>use ESpec.Phoenix, request: Pspgwe.Endpoint</string> | ||
<key>name</key> | ||
<string>use ESpec.Phoenix.Endpoint</string> | ||
<key>scope</key> | ||
<string>source.elixir.espec</string> | ||
<key>tabTrigger</key> | ||
<string>usesphr</string> | ||
<key>uuid</key> | ||
<string>DAD2B74D-2105-42B0-9FC5-466F3B3D0DB7</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>use ESpec.Phoenix, view: Pspgwe.ExamplesView</string> | ||
<key>name</key> | ||
<string>use ESpec.Phoenix.ExamplesView</string> | ||
<key>scope</key> | ||
<string>source.elixir.espec</string> | ||
<key>tabTrigger</key> | ||
<string>usesphv</string> | ||
<key>uuid</key> | ||
<string>DAD2B74D-2105-42B0-9FC5-466F3B3D0DB7</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>content</key> | ||
<string>use ESpec</string> | ||
<key>name</key> | ||
<string>use ESpec</string> | ||
<key>scope</key> | ||
<string>source.elixir.espec</string> | ||
<key>tabTrigger</key> | ||
<string>usesp</string> | ||
<key>uuid</key> | ||
<string>DAD2B74D-2105-42B0-9FC5-466F3B3D0DB7</string> | ||
</dict> | ||
</plist> |