test/ft_10_loop.rb in openwferu-0.9.15 vs test/ft_10_loop.rb in openwferu-0.9.16
- old
+ new
@@ -8,16 +8,11 @@
#
require 'flowtestbase'
-$s = ""
-0.upto(9) do |i|
- $s << i.to_s
- $s << "\n"
-end
-$s = $s.strip()
+$s = (0..9).to_a.join("\n").strip
class FlowTest10 < Test::Unit::TestCase
include FlowTestBase
@@ -26,9 +21,12 @@
#def teardown
#end
def test_loop_0
+
+ #log_level_to_debug
+
dotest(
'<process-definition name="'+name_of_test+'''" revision="0">
<sequence>
<reval>$i = 0</reval>
<loop>