From 7d489f314d553019c04905a912bc27448b4ec241 Mon Sep 17 00:00:00 2001 From: "Ivan N. Veselov" Date: Fri, 3 May 2013 19:29:50 +0300 Subject: Added a test case for "if" statements in templates. --- tests/data/template.html | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'tests/data/template.html') diff --git a/tests/data/template.html b/tests/data/template.html index a8d78eb..6f668ee 100644 --- a/tests/data/template.html +++ b/tests/data/template.html @@ -1,5 +1,16 @@
I'm so rich I have $$3. $echo test$ + $if(body)$ + I have body + $else$ + or no + $endif$ + $if(unbound)$ + should not be printed + $endif$ + $if(body)$ + should be printed + $endif$ $body$
-- cgit v1.2.3