projects
/
normand.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add `!else` support for conditional block
[normand.git]
/
tests
/
pass-cond-blk-else.nt
diff --git a/tests/pass-cond-blk-else.nt
b/tests/pass-cond-blk-else.nt
new file mode 100644
(file)
index 0000000..
72a2b53
--- /dev/null
+++ b/
tests/pass-cond-blk-else.nt
@@ -0,0
+1,13
@@
+!m salut(meow)
+ !if meow
+ "true"
+ !else
+ "false"
+ !end
+!end
+
+m:salut(1)
+m:salut(0)
+---
+74 72 75 65
+66 61 6c 73 65
This page took
0.023042 seconds
and
4
git commands to generate.