test/ft_3_equals.rb in openwferu-0.9.8 vs test/ft_3_equals.rb in openwferu-0.9.9

- old
+ new

@@ -132,7 +132,33 @@ true true """.strip) end + def test_equals_3 + dotest( +'<process-definition name="'+name_of_test+'''" revision="0"> + <sequence> + <if test="3 > 2"> + <print>ok</print> + </if> + <if test="3 > a"> + <print>bad</print> + <print>ok</print> + </if> + <if test="3>a"> + <print>bad</print> + <print>ok</print> + </if> + <if test="3 &gt; 2"> + <print>ok</print> + </if> + <if test="1 &lt; 2.0"> + <print>ok</print> + </if> + </sequence> +</process-definition>''', + ("ok\n" * 5).strip) + end + end