test/ft_35_localdefs.rb in openwferu-0.9.13 vs test/ft_35_localdefs.rb in openwferu-0.9.14
- old
+ new
@@ -30,10 +30,12 @@
# TEST 0
#def xxxx_local_0
def test_local_0
+ #log_level_to_debug
+
li = OpenWFE::LaunchItem.new
li.wfdurl = "file:doc/res/defs/testdef.rb"
dotest(
li,
@@ -55,9 +57,20 @@
dotest(
li,
"""a
b
c""")
+ end
+
+
+ #
+ # TEST 2
+
+ def test_local_2
+
+ @engine.launch("file:doc/res/defs/testdef.rb")
+ sleep 0.300
+ assert_equal @tracer.to_s, "a\nb\nc"
end
end