aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-06-03 12:45:40 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-06-03 12:45:40 +1200
commit672968b2b630d18511ef7593cca488bec1d11069 (patch)
tree129eb135c5e835d4e8f50b68d1d0a97fe4c556ae /share
parentAdd some missing parentheses (diff)
downloaddotfiles-672968b2b630d18511ef7593cca488bec1d11069.tar.gz
dotfiles-672968b2b630d18511ef7593cca488bec1d11069.zip
Add some sample tests for mi5(1df)
Diffstat (limited to 'share')
-rw-r--r--share/sample1.mi57
-rw-r--r--share/sample2.mi57
2 files changed, 14 insertions, 0 deletions
diff --git a/share/sample1.mi5 b/share/sample1.mi5
new file mode 100644
index 00000000..686d7787
--- /dev/null
+++ b/share/sample1.mi5
@@ -0,0 +1,7 @@
+<%
+
+ define(`FOO', `foo')
+
+%>
+FOO is <% FOO %>. Happy? Here it is again: <% FOO %>.
+I hope this has been enlightening for you.
diff --git a/share/sample2.mi5 b/share/sample2.mi5
new file mode 100644
index 00000000..6e964a23
--- /dev/null
+++ b/share/sample2.mi5
@@ -0,0 +1,7 @@
+{{{
+
+ define(`BAR', `bar')
+
+}}}
+BAR is {{{ BAR }}}. Happy? Here it is again: {{{ BAR }}}.
+You need to change the mi5 delimiter for that to work.