rename to to array function to to_arr

This commit is contained in:
Torsten Ruger
2017-01-04 21:32:09 +02:00
parent 88eae0e6f0
commit f2c4e542ac
4 changed files with 6 additions and 6 deletions

View File

@ -54,7 +54,7 @@ module Register
@instruction.replace_next @label
assert_equal @label, @instruction.last
assert_equal @label, @instruction.next
assert_equal 2 , @instruction.length , @instruction.to_ac
assert_equal 2 , @instruction.length , @instruction.to_arr
end
def test_each_label1
@instruction.set_next @label