fix the resolve

without return and not being a function
This commit is contained in:
Torsten Ruger
2018-04-08 22:30:18 +03:00
parent e5d014b936
commit 580c53cdae
5 changed files with 58 additions and 84 deletions

View File

@ -21,6 +21,10 @@ module Risc
move = @r0 << Parfait.object_space
assert_equal LoadConstant , move.class
end
def test_load_symbol
move = @r1 << :puts
assert_equal LoadConstant , move.class
end
def test_transfer
transfer = @r0 << @r1
assert_equal Transfer , transfer.class