test/ft_4_misc.rb in openwferu-0.9.10.653 vs test/ft_4_misc.rb in openwferu-0.9.11
- old
+ new
@@ -90,9 +90,24 @@
def test_reval_4
dotest(Reval4, "hello\n1")
end
+ class Reval5 < OpenWFE::ProcessDefinition
+ sequence do
+ reval """
+ wi.customer_name = 'dubious'
+ 'surf'
+ """
+ _print "${f:customer_name}"
+ _print "${f:__result__}"
+ end
+ end
+
+ def test_reval_5
+ dotest Reval5, "dubious\nsurf"
+ end
+
#
# DRU tests
def test_dru_0
dotest(\