test/ft_1_unset.rb in openwferu-0.9.9 vs test/ft_1_unset.rb in openwferu-0.9.10

- old
+ new

@@ -19,20 +19,23 @@ #def teardown #end #def xxxx_unset_0 def test_unset_0 - dotest(\ -'''<process-definition name="n" revision="0"> + dotest( + ''' +<process-definition name="n" revision="0"> <sequence> <set variable="x" value="y" /> <print>set ${x} ${v:x}</print> <unset variable="x" /> <print>unset ${x} ${v:x}</print> </sequence> -</process-definition>''', 'set y y -unset') +</process-definition> + '''.strip, + "set y y\nunset", + true) end #def xxxx_unset_1 def test_unset_2 dotest(\ @@ -61,38 +64,44 @@ unset y') end #def xxxx_unset_3 def test_unset_3 - dotest(\ -'''<process-definition name="n" revision="0"> + dotest( + ''' +<process-definition name="n" revision="0"> <sequence> <set variable="//x" value="y" /> <print>set ${x}</print> <unset variable="//x" /> <print>unset ${x}</print> </sequence> -</process-definition>''', 'set y -unset') +</process-definition> + '''.strip, + "set y\nunset", + true) end #def xxxx_unset_4 def test_unset_4 - dotest(\ -'''<process-definition name="n" revision="0"> + dotest( + ''' +<process-definition name="n" revision="0"> <sequence> <set variable="/x" value="y" /> <print>set ${x}</print> <unset variable="x" /> <print>unset ${x}</print> </sequence> -</process-definition>''', 'set y -unset') +</process-definition> + '''.strip, + "set y\nunset", + true) end #def xxxx_unset_5 def test_unset_5 - dotest(\ + dotest( '''<process-definition name="n" revision="0"> <sequence> <set variable="/x" value="y" /> <print>set ${x}</print> <print>unset ${x}</print>