test/ft_49_condition.rb in openwferu-0.9.16 vs test/ft_49_condition.rb in openwferu-0.9.17
- old
+ new
@@ -31,12 +31,14 @@
_print "0 ${f:__result__}"
_if :test => "true; false"
_print "1 ${f:__result__}"
_if :test => "false; true"
_print "2 ${f:__result__}"
- _if :test => "print ''; true"
+ #_if :test => "print ''; true"
+ _if :test => "''; true"
_print "3 ${f:__result__}"
- _if :test => "begin print ''; end; true"
+ #_if :test => "begin print ''; end; true"
+ _if :test => "begin ''; end; true"
_print "4 ${f:__result__}"
unset :field => "__result__"
_if :test => "true == "