Index: trunk/extensions/ParserFunctions/funcsParserTests.txt |
— | — | @@ -166,3 +166,12 @@ |
167 | 167 | empty |
168 | 168 | </p> |
169 | 169 | !! end |
| 170 | + |
| 171 | +!! test |
| 172 | +Bug 22866: #ifexpr should evaluate "-0" as false |
| 173 | +!! input |
| 174 | +{{#ifexpr: (-1)*0 | true | false }} |
| 175 | +!! result |
| 176 | +<p>false |
| 177 | +</p> |
| 178 | +!! end |