remove calls from tests that don't test call
This commit is contained in:
@ -8,7 +8,7 @@ module Vool
|
||||
|
||||
def setup
|
||||
Risc.machine.boot
|
||||
@ins = compile_first_method( "if(@a) ; 5.mod4 ; else; 4.mod4 ; end")
|
||||
@ins = compile_first_method( "if(@a) ; @a = 5 ; else; @a = 6 ; end")
|
||||
end
|
||||
|
||||
def test_condition_compiles_to_check
|
||||
@ -24,8 +24,8 @@ module Vool
|
||||
assert_equal Label , @ins.last.class , @ins
|
||||
end
|
||||
def test_array
|
||||
check_array [TruthCheck, Label, MessageSetup, ArgumentTransfer, SimpleCall, Jump ,
|
||||
Label, MessageSetup, ArgumentTransfer, SimpleCall, Label] , @ins
|
||||
check_array [TruthCheck, Label, SlotLoad, Jump, Label, SlotLoad ,
|
||||
Label] , @ins
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user