Skip to content

Commit

Permalink
Update tests/tpl/variable.tpl
Browse files Browse the repository at this point in the history
  • Loading branch information
hugokernel committed Feb 29, 2012
1 parent ce7d753 commit 192cb29
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/tpl/variable.tpl
Expand Up @@ -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>
Expand Down Expand Up @@ -105,4 +107,4 @@ with special char: "\}{\} <!-- -->\'---
</li>
</ul>
<hr />
<hr />

0 comments on commit 192cb29

Please sign in to comment.