| author | ralf@brainbot.com |
| Tue Nov 18 12:31:22 2008 +0100 (6 weeks ago) | |
| changeset 1796 | 5546dcb2bd5c |
| parent 1795 | 1c80827ae586 |
| child 1797 | e61da4413577 |
1 --- a/tests/test_expander.py Tue Nov 18 12:29:57 2008 +0100 2 +++ b/tests/test_expander.py Tue Nov 18 12:31:22 2008 +0100 3 @@ -363,4 +363,4 @@ 4 expandstr("{{MONTHNUMBER|12}}", "12", wikidb=wikidb) 5 6 def test_switch_default_template(): 7 - expandstr("{{#switch:1|{{#if:0|5|12}}}}", "12") 8 + expandstr("{{#switch:1|{{#if:1|5|12}}}}", "5")