test/ft_6_lambda.rb in openwferu-0.9.15 vs test/ft_6_lambda.rb in openwferu-0.9.16
- old
+ new
@@ -23,38 +23,40 @@
def test_lambda_0
dotest(
'''<process-definition name="lambda_0" revision="0">
<sequence>
- <set variable="inside1">
+ <set variable="inside1x">
<process-definition>
<print>bonjour ${name}</print>
</process-definition>
</set>
- <inside1 name="world" />
+ <inside1x name="world" />
<print>over</print>
</sequence>
-</process-definition>''', """bonjour world
-over""")
+</process-definition>''',
+ "bonjour world\nover")
end
#
# TEST 1
class Test1 < OpenWFE::ProcessDefinition
sequence do
- _set :v => "inside1" do
+ _set :v => "inside1r" do
process_definition do
_print "hello ${name}"
end
end
- inside1 :name => "mundo"
+ inside1r :name => "mundo"
_print "done."
end
end
def test_1
+
+ log_level_to_debug
dotest(Test1, "hello mundo\ndone.")
end
end