test/functional/eft_27_inc.rb in ruote-2.1.7 vs test/functional/eft_27_inc.rb in ruote-2.1.8
- old
+ new
@@ -28,11 +28,11 @@
end
end
#noisy
- assert_trace pdef, '2|2'
+ assert_trace '2|2', pdef
end
def test_inc_missing
pdef = Ruote.process_definition do
@@ -47,11 +47,11 @@
end
end
#noisy
- assert_trace pdef, '2|2'
+ assert_trace '2|2', pdef
end
def test_inc_delta
pdef = Ruote.process_definition do
@@ -68,11 +68,11 @@
end
end
#noisy
- assert_trace pdef, '6|8|3.0'
+ assert_trace '6|8|3.0', pdef
end
def test_inc_v_val
pdef = Ruote.process_definition do
@@ -86,11 +86,11 @@
end
end
#noisy
- assert_trace pdef, '4'
+ assert_trace '4', pdef
end
def test_inc_array
@engine.context['ruby_eval_allowed'] = true
@@ -106,11 +106,11 @@
end
end
#noisy
- assert_trace pdef, %w[ alpha bravo charly ]
+ assert_trace %w[ alpha bravo charly ], pdef
end
def test_inc_array_head
#@engine.context['ruby_eval_allowed'] = true
@@ -127,11 +127,11 @@
end
end
#noisy
- assert_trace pdef, %w[ charly alpha bravo ]
+ assert_trace %w[ charly alpha bravo ], pdef
end
def test_inc_array_missing
@engine.context['ruby_eval_allowed'] = true
@@ -147,11 +147,11 @@
end
end
#noisy
- assert_trace pdef, %w[ charly charly ]
+ assert_trace %w[ charly charly ], pdef
end
def test_dec
pdef = Ruote.process_definition do
@@ -168,11 +168,11 @@
end
end
#noisy
- assert_trace pdef, '3|3|-1'
+ assert_trace '3|3|-1', pdef
end
def test_dec_array
@engine.context['ruby_eval_allowed'] = true
@@ -192,11 +192,11 @@
end
end
#noisy
- assert_trace pdef, %w[ a.b b.c a ]
+ assert_trace %w[ a.b b.c a ], pdef
end
def test_dec_to
@engine.context['ruby_eval_allowed'] = true
@@ -213,11 +213,11 @@
end
end
#noisy
- assert_trace pdef, %w[ a.b c ]
+ assert_trace %w[ a.b c ], pdef
end
def test_dec_val
@engine.context['ruby_eval_allowed'] = true
@@ -234,11 +234,11 @@
end
end
#noisy
- assert_trace pdef, %w[ a.c b ]
+ assert_trace %w[ a.c b ], pdef
end
def test_cursor
pdef = Ruote.process_definition do
@@ -252,10 +252,10 @@
end
end
#noisy
- assert_trace pdef, %w[ a b c d ]
+ assert_trace %w[ a b c d ], pdef
end
def test_bare_inc
pdef = Ruote.process_definition do