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

- old
+ new

@@ -97,11 +97,11 @@ """true true""") end def test_equals_1 - dotest(\ + dotest( '<process-definition name="'+name_of_test+'''" revision="0"> <sequence> <set variable="a" value="true" /> <print>${a}</print> <if> @@ -111,9 +111,28 @@ </if> </sequence> </process-definition>''', """true true""") + end + + def test_equals_2 + dotest( +'<process-definition name="'+name_of_test+'''" revision="0"> + <sequence> + <set variable="a" value="true" /> + + <equals variable="a" other-value="true" /> + <print>${f:__result__}</print> + + <equals variable="a" value="true" /> + <print>${f:__result__}</print> + </sequence> +</process-definition>''', + """ +true +true + """.strip) end end