fix all tests from removing the receiver load

This commit is contained in:
Torsten Ruger
2018-03-20 23:31:42 +05:30
parent 48485477c2
commit d9ce295b89
14 changed files with 47 additions and 44 deletions

View File

@ -19,14 +19,14 @@ module Vool
assert_equal :type , load.right.slots[1] , load
end
def test_check_resolve_call
assert_equal SimpleCall , @ins.next(6).class , @ins
assert_equal SimpleCall , @ins.next(5).class , @ins
end
def test_dynamic_call_last
assert_equal DynamicCall , @ins.last.class , @ins
end
def test_array
check_array [SlotLoad,NotSameCheck,SlotLoad,MessageSetup,SlotLoad,ArgumentTransfer,SimpleCall,SlotLoad,MessageSetup,SlotLoad,ArgumentTransfer,DynamicCall] , @ins
check_array [SlotLoad,NotSameCheck,SlotLoad,MessageSetup,ArgumentTransfer,SimpleCall,SlotLoad,MessageSetup,ArgumentTransfer,DynamicCall] , @ins
end
end