test/functional/eft_14_cursor.rb in ruote-2.1.7 vs test/functional/eft_14_cursor.rb in ruote-2.1.8

- old
+ new

@@ -20,11 +20,11 @@ end end #noisy - assert_trace(pdef, '') + assert_trace('', pdef) end def test_cursor pdef = Ruote.process_definition :name => 'test' do @@ -34,11 +34,11 @@ end end #noisy - assert_trace(pdef, %w[ a b ]) + assert_trace(%w[ a b ], pdef) end def test_skip pdef = Ruote.process_definition :name => 'test' do @@ -50,11 +50,11 @@ end end #noisy - assert_trace(pdef, %w[ a c ]) + assert_trace(%w[ a c ], pdef) end def test_break pdef = Ruote.process_definition :name => 'test' do @@ -65,11 +65,11 @@ end end #noisy - assert_trace(pdef, 'a') + assert_trace('a', pdef) end def test_stop pdef = Ruote.process_definition :name => 'test' do @@ -80,11 +80,11 @@ end end #noisy - assert_trace(pdef, 'a') + assert_trace('a', pdef) end def test_jump_to_tag pdef = Ruote.process_definition :name => 'test' do @@ -96,11 +96,11 @@ end end #noisy - assert_trace(pdef, %w[ a c ]) + assert_trace(%w[ a c ], pdef) end def test_jump_to_variable_tag pdef = Ruote.process_definition :name => 'test' do @@ -115,11 +115,11 @@ end end #noisy - assert_trace(pdef, %w[ a b d ]) + assert_trace(%w[ a b d ], pdef) end def test_rewind_if pdef = Ruote.process_definition :name => 'test' do @@ -138,11 +138,11 @@ @tracer << "a\n" end #noisy - assert_trace(pdef, %w[ a ] * 5) + assert_trace(%w[ a ] * 5, pdef) end def test_jump_to pdef = Ruote.process_definition :name => 'test' do @@ -169,11 +169,11 @@ @tracer << "p\n" end #noisy - assert_trace pdef, %w[ a r a r a r p ] + assert_trace %w[ a r a r a r p ], pdef # ARP nostalgy.... end def test_deep_rewind @@ -242,11 +242,11 @@ end end #noisy - assert_trace pdef, %w[ a b ] + assert_trace %w[ a b ], pdef end def test_break_if pdef = Ruote.process_definition :name => 'test' do @@ -256,11 +256,11 @@ echo 'done.' end #noisy - assert_trace pdef, 'done.' + assert_trace 'done.', pdef end def test_over_unless pdef = Ruote.process_definition :name => 'test' do @@ -270,9 +270,9 @@ echo 'done.' end #noisy - assert_trace pdef, 'done.' + assert_trace 'done.', pdef end end