Permalink
Browse files

Update tests/tpl/variable.tpl

  • Loading branch information...
hugokernel committed Feb 29, 2012
1 parent ce7d753 commit 192cb29683cf40d9d4b202e3553f4d7dc5bb10a9
Showing with 4 additions and 2 deletions.
  1. +4 −2 tests/tpl/variable.tpl
View
@@ -55,7 +55,9 @@ with special char: "\}{\} <!-- -->\'---
<ul>
<li>No data (must be empty) : {$varsetter}</li>
<li>No data with default value : {$varsetter (<span class="ok">Default value !</span>)}</li>
<li>No data (null) with default value : {$var_default_null (<span class="ok">Default value !</span>)}</li>
<li>No data (false) with default value : {$var_default_false (<span class="ok">Default value !</span>)}</li>
<li>No data (0) with default value : {$var_default_0 (<span class="ok">Default value !</span>)}</li>
<li>No data with default value and special character : {$varsetter (<span class="ok">Default value ) " ' \})\|toto !</span>)}</li>
<li>No data with default 0 value : {$varsetter (0)}</li>
<li>Default l10n : {$empty _(Hello)}</li>
@@ -105,4 +107,4 @@ with special char: "\}{\} <!-- -->\'---
</li>
</ul>
<hr />
<hr />

0 comments on commit 192cb29

Please sign in to comment.