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
@@ -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.