Skip to content

Commit

Permalink
add two assert snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
gretl-project committed Nov 22, 2020
1 parent 2b32347 commit be4801e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Snippets/assert_equal.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<snippet>
<content><![CDATA[
assert(${1:expected} == ${2:actual})
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>ass</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.gretl</scope> -->
<!-- Optional: Description to show in the menu -->
<description>gretl - assert - equal</description>
</snippet>
11 changes: 11 additions & 0 deletions Snippets/assert_notequal.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<snippet>
<content><![CDATA[
assert(${1:expected} != ${2:actual})
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>ass</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.gretl</scope> -->
<!-- Optional: Description to show in the menu -->
<description>gretl - assert - notequal</description>
</snippet>

0 comments on commit be4801e

Please sign in to comment.